From 399925fff577cf11a77193d997d2bf19ee72aa04 Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 21 May 2013 16:43:54 -0400 Subject: [PATCH] gbz80disasm: rgbds uses brackets for ld hl, sp+x --- extras/gbz80disasm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/gbz80disasm.py b/extras/gbz80disasm.py index 2e21f8da8..c1d129c82 100644 --- a/extras/gbz80disasm.py +++ b/extras/gbz80disasm.py @@ -253,7 +253,8 @@ temp_opt_table = [ [ "LD [HL], H", 0x74, 0 ], [ "LD [HLI], A", 0x22, 0 ], [ "LD [HL], L", 0x75, 0 ], - [ "LD HL, SP+x", 0xf8, 1 ], +# [ "LD HL, SP+x", 0xf8, 1 ], # rgbds uses [sp+x] + [ "LD HL, [SP+x]", 0xf8, 1 ], [ "LD [HL], x", 0x36, 1 ], [ "LD H, x", 0x26, 1 ], # [ "LDI A, [HL]", 0x2a, 0 ],