Open pmcanseco opened 8 years ago
This may be a copy/paste error, possibly related to the two unused functions LDHLmm
and LDmmHL
, because:
LD (immediate), HL
instruction.LD (immediate), SP
instruction with opcode 0x08
, which corresponds to your missing instruction.I think he copy/pasted something and meant to turn LDmmHL
into LDmmSP
, but just forgot.
Addressed in this issue
In z80.js line 669, the opcode 0x08 is mapped to a function "LDmmSP" which doesn't exist. https://github.com/Two9A/jsGB/blob/master/js/z80.js#L669