This repository has been archived on 2025-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
corten/docs/spec.md
Anthony Foxclaw c1bdbc78c5 Rearranaged opcode order
- Rearranaged opcodes to match Iridium's
- Grabbed the get_test_vm() function from the Iridium 1 source to keep up with the tutorial
- Specifications page with details regarding Iridium and Corten's instruction set list
2020-02-06 19:57:38 -05:00

690 B

Specifications

Iridium

Corten is based on Fletcher Haynes's So you want to build a language VM tutorial. His virtual machine used for the tutorial is known as Iridium. Despite it's origins, it does aim to be full a fledged virtual machine and is already on it's third iteration with support for SSH, PIDs and Strings. Corten aims to be Iridium 1-compatible.

Instruction Set

Register Opcode
0 LOAD
1 ADD
2 SUB
3 MUL
4 DIV
6 HLT
5 JMP
8 JMPF
9 JMPB
_ IGL