aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/translate.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-26 15:09:38 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-26 15:09:38 +0000
commita87295e8df0923dab9857c1a340d23fe3278a336 (patch)
tree30c629030791710b509b88fceb184766f97743cd /target-m68k/translate.c
parent20c9f095c4536e64e60432a5c72fce38e8306cbb (diff)
M68k system mode semihosting.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2861 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 eff32867b8..d7162fea6f 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -1901,7 +1901,6 @@ DISAS_INSN(move_to_usp)
DISAS_INSN(halt)
{
- gen_flush_cc_op(s);
gen_jmp(s, gen_im32(s->pc));
gen_op_halt();
}
@@ -1919,7 +1918,8 @@ DISAS_INSN(stop)
s->pc += 2;
gen_set_sr_im(s, ext, 0);
- disas_halt(s, insn);
+ gen_jmp(s, gen_im32(s->pc));
+ gen_op_stop();
}
DISAS_INSN(rte)