mirror of
https://github.com/bradford-hamilton/apple-1.git
synced 2024-07-04 09:29:29 +00:00
cdca8f735d
Still a little iffy on the code design, although this seems like it could be a desirable pattern. This way I would have to write an opcode handler for all the cases and register it to the “op”. That way step calls are super simple from Appleone’s point of view -> get the operation and that operation has everything needed to execute on the vm. |
||
---|---|---|
.. | ||
cpu.go | ||
mem.go | ||
opcodes.go | ||
vm.go |