summaryrefslogtreecommitdiff
path: root/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
commitc4f10ac6728dfe08fdcb207ba2af9cb802a4392f (patch)
tree9e287abfa991ca5bb78d489d0470d82ad578018f /gbz80disasm.py
parent13c2378a8075fc294bd8cf84e4bce4acd4c35c0d (diff)
gbz80disasm: reti is an ender
original-commit-id: 81e42e41da5a664aa528ad4f9284119456b15817
Diffstat (limited to 'gbz80disasm.py')
-rw-r--r--gbz80disasm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gbz80disasm.py b/gbz80disasm.py
index 354490e..6345099 100644
--- a/gbz80disasm.py
+++ b/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]