Fix decoding of MOVSX.

Submitted by:	Wolf Ramovsky <wolf.ramovsky gmail.com>
		via core (peter)
MFC after:	2 weeks
This commit is contained in:
Xin LI 2014-06-11 20:22:14 +00:00
parent 6cfac37b03
commit 5097605520
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267372

View File

@ -5610,6 +5610,7 @@ x86emuOp2_32_movsx_byte_R_RM(struct x86emu *emu)
{
uint32_t *destreg;
fetch_decode_modrm(emu);
destreg = decode_rh_long_register(emu);
*destreg = (int32_t)(int8_t)decode_and_fetch_byte(emu);
}