commit | d71b9a8b2fa294c7689e43d97ee15dc56bb99853 | [log] [tgz] |
---|---|---|
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Thu Nov 13 02:48:18 2003 +0000 |
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Thu Nov 13 02:48:18 2003 +0000 |
tree | c00ecd871678cf55ef9c29915459730ec321e1b0 | |
parent | 181f1558cd58f40f05ee0e4e46c08c692efb76fa [diff] [blame] |
fixed lmsw instruction git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@457 c046a42c-6fe2-441c-8c8c-71466251a162
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 @@ } 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 */