From bed3e50fe6be5c52c367c43473636bb11b961b63 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Tue, 18 Nov 2003 15:32:57 +0000 Subject: fix order of arguments of a generated lea instruction --- cgiwas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgiwas.c b/cgiwas.c index 7b85409..a31d06e 100644 --- a/cgiwas.c +++ b/cgiwas.c @@ -1617,10 +1617,10 @@ static void w_as_div_rem_i_instruction (struct instruction *instruction,int comp index_registers.d_reg.r=s_reg2; w_as_opcode (intel_asm ? "lea" : "leal"); - if (!intel_asm) + if (intel_asm) w_as_register_comma (sd_reg); w_as_indexed (0,&index_registers); - if (intel_asm) + if (!intel_asm) w_as_comma_register (sd_reg); w_as_newline(); } else { -- cgit v1.2.3