cpu/decoder - Fix output reg for LD HL, SP + e8
This commit is contained in:
parent
cfa32424c7
commit
9ca6c84043
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ void Cpu::executeInstruction()
|
||||||
mcycles = 4;
|
mcycles = 4;
|
||||||
break;
|
break;
|
||||||
case 0xF8: // LD HL, SP + e8
|
case 0xF8: // LD HL, SP + e8
|
||||||
add16_8(state.SP, state.SP, readPC8());
|
add16_8(state.HL, state.SP, readPC8());
|
||||||
state.zero = false;
|
state.zero = false;
|
||||||
mcycles = 3;
|
mcycles = 3;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue