summaryrefslogtreecommitdiff
path: root/extras/gbz80disasm.py
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-05-14 21:53:19 -0400
committeryenatch <yenatch@gmail.com>2013-05-15 14:39:43 -0400
commit81e42e41da5a664aa528ad4f9284119456b15817 (patch)
treebf83eaf72ef1af99ebc0c2222d9eb83aac6b1f5b /extras/gbz80disasm.py
parent3cf6603b455530fa0c17e946118484a0126e2bf9 (diff)
gbz80disasm: reti is an ender
Diffstat (limited to 'extras/gbz80disasm.py')
-rw-r--r--extras/gbz80disasm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/gbz80disasm.py b/extras/gbz80disasm.py
index 354490e4f..634509973 100644
--- a/extras/gbz80disasm.py
+++ b/extras/gbz80disasm.py
@@ -542,10 +542,11 @@ for line in temp_opt_table:
del line
end_08_scripts_with = [
+0xc9, #ret
+0xd9, #reti
0xe9, #jp hl
#0xc3, #jp
##0x18, #jr
-0xc9, #ret
###0xda, 0xe9, 0xd2, 0xc2, 0xca, 0xc3, 0x38, 0x30, 0x20, 0x28, 0x18, 0xd8, 0xd0, 0xc0, 0xc8, 0xc9
]
relative_jumps = [0x38, 0x30, 0x20, 0x28, 0x18, 0xc3, 0xda, 0xc2]