- Fixed a bug with VM assigning wrong opcode. After doing a little digging into the Iridium 1 source code (skipping to the next part of the tutorial), I discovered I had to have implement from() function in both directions. I.e. the Opcode outputs integer and integer outputs an Opcode. Derp moment in retrospective since I already had it done for the former but this is a learning experience. - Moved Opcode enum to assembler module. |
||
---|---|---|
.. | ||
assembler | ||
assembler.rs | ||
instruction.rs | ||
main.rs | ||
repl.rs | ||
vm.rs |