Fixed 'enter x, y' bug

This commit is contained in:
kobalicek
2017-08-08 20:16:37 +02:00
parent cec9f76fc7
commit 31066937fd

View File

@@ -1132,8 +1132,10 @@ CaseX86M_GPB_MulDiv:
case X86Inst::kEncodingX86Enter: case X86Inst::kEncodingX86Enter:
if (isign3 == ENC_OPS2(Imm, Imm)) { if (isign3 == ENC_OPS2(Imm, Imm)) {
imVal = (static_cast<uint32_t>(static_cast<const Imm&>(o1).getUInt16()) << 0) | uint32_t iw = static_cast<const Imm&>(o0).getUInt16();
(static_cast<uint32_t>(static_cast<const Imm&>(o0).getUInt8()) << 16) ; uint32_t ib = static_cast<const Imm&>(o1).getUInt8();
imVal = iw | (ib << 16);
imLen = 3; imLen = 3;
goto EmitX86Op; goto EmitX86Op;
} }