mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 19:42:08 +00:00
Add "jp hl" as a valid instruction.
"jp [hl]" has been around for decades even though it makes no sense. This is better.
This commit is contained in:
@@ -226,6 +226,8 @@ z80_jp : T_Z80_JP const_16bit
|
|||||||
{ out_AbsByte(0xC2|($2<<3)); out_RelWord(&$4); }
|
{ out_AbsByte(0xC2|($2<<3)); out_RelWord(&$4); }
|
||||||
| T_Z80_JP T_MODE_HL_IND
|
| T_Z80_JP T_MODE_HL_IND
|
||||||
{ out_AbsByte(0xE9); }
|
{ out_AbsByte(0xE9); }
|
||||||
|
| T_Z80_JP T_MODE_HL
|
||||||
|
{ out_AbsByte(0xE9); }
|
||||||
;
|
;
|
||||||
|
|
||||||
z80_jr : T_Z80_JR const_PCrel
|
z80_jr : T_Z80_JR const_PCrel
|
||||||
|
|||||||
Reference in New Issue
Block a user