summaryrefslogtreecommitdiff
path: root/tools/tcgdisasm.py
diff options
context:
space:
mode:
authorAndrew Martinek <andrewrmartinek@gmail.com>2019-10-29 16:35:33 -0400
committerAndrew Martinek <andrewrmartinek@gmail.com>2019-10-29 16:35:33 -0400
commit0b1318f49d0f17847f52c3fd35ea2574d9b7af78 (patch)
tree1ceec7096ffa37583d2667adb447a713b2b4f9f9 /tools/tcgdisasm.py
parentadc5a467eeccb0e44f4fcd2ed14d2b185ca1c14c (diff)
Updated tcgdisasm to include a few new stack macros
Diffstat (limited to 'tools/tcgdisasm.py')
-rw-r--r--tools/tcgdisasm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcgdisasm.py b/tools/tcgdisasm.py
index edc5df4..579d577 100644
--- a/tools/tcgdisasm.py
+++ b/tools/tcgdisasm.py
@@ -311,7 +311,7 @@ relative_jumps = [0x18, 0x20, 0x28, 0x30, 0x38]
unconditional_jumps = [0xc3, 0x18]
# the flag macros found in bank 3. They db a byte after calling so need to be treated specially
-flag_macros = [(0xca8f,"set_flag_value {}"),(0xcacd,"zero_flag_value {}"), (0xca69,"get_flag_value {}")]
+flag_macros = [(0xca8f,"set_flag_value {}"),(0xcacd,"zero_flag_value {}"),(0xca84,"zero_flag_value2 {}"), (0xcac2,"max_flag_value {}"), (0xca69,"get_flag_value {}")]
def asm_label(address):
"""