From d71b9a8b2fa294c7689e43d97ee15dc56bb99853 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 13 Nov 2003 02:48:18 +0000 Subject: [PATCH] fixed lmsw instruction git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@457 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/translate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-i386/translate.c b/target-i386/translate.c index 7ce8f4b..8457b6c 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -3921,6 +3921,8 @@ static uint8_t *disas_insn(DisasContext *s, uint8_t *pc_start) } else { gen_ldst_modrm(s, modrm, OT_WORD, OR_TMP0, 0); gen_op_lmsw_T0(); + gen_op_jmp_im(s->pc - s->cs_base); + gen_eob(s); } break; case 7: /* invlpg */ -- 2.7.4