- 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
690 B
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 |