diff --git a/cpu/decoder.cpp b/cpu/decoder.cpp index 5767112..b47702b 100644 --- a/cpu/decoder.cpp +++ b/cpu/decoder.cpp @@ -459,6 +459,10 @@ void Cpu::executeInstruction() case 0x76: // HALT halted = true; break; + case 0x10: // STOP n8 + (void)readPC8(); + stopped = true; + break; case 0xE8: // ADD SP, e8 {