aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/translate.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-11-12 21:31:18 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-11-12 21:31:18 +0000
commit2d37be61e3a377843f4e8b8fcc837838294b8b3f (patch)
tree4fa83386a55d426e5ba8c6a175a4b53ef98643b7 /target-m68k/translate.c
parent483dcf538ea2ac86914bf7deef1d07f3b48d8878 (diff)
M68k build fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2212 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-m68k/translate.c')
-rw-r--r--target-m68k/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 10728f97d3..9c34c626b2 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -747,9 +747,9 @@ DISAS_INSN(divl)
den = gen_ea(s, insn, OS_LONG, 0, NULL);
gen_op_mov32(QREG_DIV2, den);
if (ext & 0x0800) {
- gen_op_divs(0);
+ gen_op_divs(2);
} else {
- gen_op_divu(0);
+ gen_op_divu(2);
}
if (num == reg) {
/* div */