aboutsummaryrefslogtreecommitdiff
path: root/target-m68k
diff options
context:
space:
mode:
Diffstat (limited to 'target-m68k')
-rw-r--r--target-m68k/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 6ee35f07bf..10b733fa0a 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -313,7 +313,7 @@ static int gen_lea_indexed(DisasContext *s, int opsize, int base)
od = 0;
}
if (od != 0) {
- gen_op_add32(add, tmp, gen_im32(od));
+ gen_op_add32(tmp, add, gen_im32(od));
add = tmp;
}
}