From 0b1318f49d0f17847f52c3fd35ea2574d9b7af78 Mon Sep 17 00:00:00 2001 From: Andrew Martinek Date: Tue, 29 Oct 2019 16:35:33 -0400 Subject: Updated tcgdisasm to include a few new stack macros --- tools/tcgdisasm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/tcgdisasm.py') 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): """ -- cgit v1.2.3