exit instruction for machine
Closed this issue · 0 comments
fokoid commented
- programs the real CHIP-8 machine don't ever exit, but typically enter an infinite loop when they're done doing whatever they do
- however, to achieve the integration testing described in #48 we need a way to snapshot the 'final' machine state when a program is done
- let's introduce an additional machine instruction to terminate the interpreter loop and quit