mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 12:34:35 +03:00
Fixed invalid check in push/pop when used with a memory operand (32-bit).
This commit is contained in:
@@ -1882,7 +1882,7 @@ _GroupPop_Gp:
|
||||
}
|
||||
|
||||
if (encoded == ENC_OPS(Mem, None, None)) {
|
||||
if (o0->getSize() != 2 && o0->getSize() != 8)
|
||||
if (o0->getSize() != 2 && o0->getSize() != self->getRegSize())
|
||||
goto _IllegalInst;
|
||||
|
||||
ADD_66H_P_BY_SIZE(o0->getSize());
|
||||
|
||||
Reference in New Issue
Block a user