diff --git a/target-i386/translate.c b/target-i386/translate.c index 7ce8f4bdee8c32986c761c8992e27ba5e6619461..8457b6c237b6595b9a27d94b45a426b7d86807e0 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 */