Commit 2bc1abb7cd9b1f9a275f57221e76a2cd52ce6168
1 parent
510ff0b7
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
Showing
1 changed file
with
1 additions
and
1 deletions
target-m68k/translate.c
@@ -313,7 +313,7 @@ static int gen_lea_indexed(DisasContext *s, int opsize, int base) | @@ -313,7 +313,7 @@ static int gen_lea_indexed(DisasContext *s, int opsize, int base) | ||
313 | od = 0; | 313 | od = 0; |
314 | } | 314 | } |
315 | if (od != 0) { | 315 | if (od != 0) { |
316 | - gen_op_add32(add, tmp, gen_im32(od)); | 316 | + gen_op_add32(tmp, add, gen_im32(od)); |
317 | add = tmp; | 317 | add = tmp; |
318 | } | 318 | } |
319 | } | 319 | } |