summaryrefslogtreecommitdiff
path: root/tools/tcgdisasm.py
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-06-30 17:36:24 +0200
committerxCrystal <rgr.crystal@gmail.com>2018-06-30 17:36:24 +0200
commit32f3634c48b336290d10eb232a69412266549c5b (patch)
treeee085cf6dbc9dff12528bb94d1b36bbe3a883c23 /tools/tcgdisasm.py
parent01a3311b31b61cf95b5f0eb953d2da5a27bbf931 (diff)
Fix parsing jp c and jp nc opcodes
Diffstat (limited to 'tools/tcgdisasm.py')
-rw-r--r--tools/tcgdisasm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tcgdisasm.py b/tools/tcgdisasm.py
index 0df677a..75d1257 100644
--- a/tools/tcgdisasm.py
+++ b/tools/tcgdisasm.py
@@ -221,7 +221,7 @@ z80_table = [
('rst $8', 0), # cf
('ret nc', 0), # d0
('pop de', 0), # d1
- ('jp nc, ${:04x}', 2), # d2
+ ('jp nc, {}', 2), # d2
('db $d3', 0), # d3
('call nc, {}', 2), # d4
('push de', 0), # d5
@@ -229,7 +229,7 @@ z80_table = [
('rst $10', 0), # d7
('ret c', 0), # d8
('reti', 0), # d9
- ('jp c, ${:04x}', 2), # da
+ ('jp c, {}', 2), # da
('db $db', 0), # db
('call c, {}', 2), # dc
('db $dd', 2), # dd