cpu/decoder - Implement HALT
This commit is contained in:
parent
5cabe03d25
commit
7180ae8c40
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue