aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/translate.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-26 23:48:38 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-26 23:48:38 +0000
commit2bc1abb7cd9b1f9a275f57221e76a2cd52ce6168 (patch)
tree7ca41b46ba15251f611e93e40f49457c3877334e /target-m68k/translate.c
parent510ff0b730d1ba25a382ac3f6f73571ea731b8e5 (diff)
Fix typo in m68k outer displacement addressing (Andreas Schwab).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2872 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-m68k/translate.c')
-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;
}
}