diff options
| author | Astrid Smith | 2011-10-20 23:11:54 -0700 |
|---|---|---|
| committer | Astrid Smith | 2011-10-20 23:11:54 -0700 |
| commit | ef89049eae1d7e2591bef44a3e8151131fb4bed2 (patch) | |
| tree | 249591a3ea8bb11c9ec3e29a5d0f6c53ad6199a1 /opcodes.asm.m4 | |
| parent | bc73dcf297780bad3b84666619ee1ebedb0c4792 (diff) | |
More size fixes
Now A68k is happy, but ld-tigcc chokes on its output.
Diffstat (limited to 'opcodes.asm.m4')
| -rw-r--r-- | opcodes.asm.m4 | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/opcodes.asm.m4 b/opcodes.asm.m4 index 26c2425..c88f728 100644 --- a/opcodes.asm.m4 +++ b/opcodes.asm.m4 @@ -3366,7 +3366,9 @@ OP_ED(c1,«») ;; PC <- immed.w OPCODE(c2,« jsr f_norm_z - beq.s emu_op_c3 + bne local(continue) + jmp emu_op_c3 ; shame this has to be a long jump +local(continue): add.l #2,epc ») ;nok @@ -3462,7 +3464,9 @@ OP_ED(c7,«») ;; RET Z OPCODE(c8,« jsr f_norm_z - bne.s emu_op_c9 + beq local(continue) + jmp emu_op_c9 ; shame this has to be a long jump +local(continue): ») ;nok @@ -3522,7 +3526,9 @@ OP_ED(cb,«») ;; CALL Z,immed.w OPCODE(cc,« jsr f_norm_z - bne.s emu_op_cd + beq local(continue) + jmp emu_op_cd +local(continue): add.l #2,epc ») ;nok @@ -4134,7 +4140,7 @@ OP_ED(f3,«») OPCODE(f5,« jsr flags_normalize LOHI eaf - move.b flag_byte(pc),eaf + move.b (flag_byte),eaf ;; XXX wrong, af is not normalized by flags_normalize? HILO eaf PUSHW eaf |
