diff options
author | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-03-27 18:40:05 +0100 |
---|---|---|
committer | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-03-27 18:40:05 +0100 |
commit | da21d9dc67083e0076e478e332fbda9a9e493e70 (patch) | |
tree | f6825ded878bc15a8523c49d7f8d46360eb21eb7 /tools/asm_processor/asm_processor.py | |
parent | e831892511c1440df4e20f5ae1478c2b86d17060 (diff) |
asm_processor: fix number of skip instructions
Diffstat (limited to 'tools/asm_processor/asm_processor.py')
-rwxr-xr-x | tools/asm_processor/asm_processor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/asm_processor/asm_processor.py b/tools/asm_processor/asm_processor.py index f0054204..5c909388 100755 --- a/tools/asm_processor/asm_processor.py +++ b/tools/asm_processor/asm_processor.py @@ -824,7 +824,7 @@ def repl_float_hex(m): def parse_source(f, opt, framepointer, input_enc, output_enc, print_source=None): opt = "O4" min_instr_count = 3 # idk - skip_instr_count = 2 # idk + skip_instr_count = 3 # mandatory instructions: push, pop and mov r0, 0 use_jtbl_for_rodata = False if opt in ['O2', 'g3'] and not framepointer: |