diff options
author | John van Groningen | 2003-11-18 15:32:57 +0000 |
---|---|---|
committer | John van Groningen | 2003-11-18 15:32:57 +0000 |
commit | bed3e50fe6be5c52c367c43473636bb11b961b63 (patch) | |
tree | 54423eec4f5ea8683c52ad5557414e9ac29f0ce9 /cgiwas.c | |
parent | don't use negative number for TEXT_LABEL_ID and DATA_LABEL_ID, because <0 mea... (diff) |
fix order of arguments of a generated lea instruction
Diffstat (limited to 'cgiwas.c')
-rw-r--r-- | cgiwas.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |