cpu/decoder - Implement STOP n8
This commit is contained in:
parent
2ab37c6468
commit
c90788d330
1 changed files with 4 additions and 0 deletions
|
@ -459,6 +459,10 @@ void Cpu::executeInstruction()
|
||||||
case 0x76: // HALT
|
case 0x76: // HALT
|
||||||
halted = true;
|
halted = true;
|
||||||
break;
|
break;
|
||||||
|
case 0x10: // STOP n8
|
||||||
|
(void)readPC8();
|
||||||
|
stopped = true;
|
||||||
|
break;
|
||||||
|
|
||||||
case 0xE8: // ADD SP, e8
|
case 0xE8: // ADD SP, e8
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue