aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-05 12:33:31 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-05 12:33:31 +0000
commit9507fb52e27cfcb9a63cce3b7552a30247b303f7 (patch)
tree8f982e4024b08e09c5e7b8c8a6d7629669cc2f13
parent489251fa5437cb43600e49b0f7c5d5c56319cf0e (diff)
Fix swapped mvz/mvs instructions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5163 c046a42c-6fe2-441c-8c8c-71466251a162
-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 16b2c2c1be..98056000c7 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -1717,7 +1717,7 @@ DISAS_INSN(mvzs)
opsize = OS_WORD;
else
opsize = OS_BYTE;
- SRC_EA(src, opsize, (insn & 0x80) != 0, NULL);
+ SRC_EA(src, opsize, (insn & 0x80) == 0, NULL);
reg = DREG(insn, 9);
tcg_gen_mov_i32(reg, src);
gen_logic_cc(s, src);