cpu/decoder - Implement HALT

This commit is contained in:
madmaurice 2023-08-29 23:32:11 +02:00
parent 5cabe03d25
commit 7180ae8c40

View file

@ -456,6 +456,10 @@ void Cpu::executeInstruction()
state.IME = IME_SCHEDULED; state.IME = IME_SCHEDULED;
break; break;
case 0x76: // HALT
halted = true;
break;
case 0xE8: // ADD SP, e8 case 0xE8: // ADD SP, e8
{ {
u32 lhs = state.SP; u32 lhs = state.SP;