diff --git a/cpu/decoder.cpp b/cpu/decoder.cpp index 87c2d37..f50a8b4 100644 --- a/cpu/decoder.cpp +++ b/cpu/decoder.cpp @@ -456,6 +456,10 @@ void Cpu::executeInstruction() state.IME = IME_SCHEDULED; break; + case 0x76: // HALT + halted = true; + break; + case 0xE8: // ADD SP, e8 { u32 lhs = state.SP;