diff options
Diffstat (limited to 'miasm2/arch/x86/sem.py')
| -rw-r--r-- | miasm2/arch/x86/sem.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 62b6b6b3..5fb7e34d 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -3248,6 +3248,13 @@ def pand(ir, instr, a, b): e.append(m2_expr.ExprAff(a, c)) return e, [] +def pandn(ir, instr, a, b): + e = [] + c = (a ^ a.mask) & b + # No flag affected + e.append(m2_expr.ExprAff(a, c)) + return e, [] + def por(ir, instr, a, b): e = [] @@ -3861,6 +3868,7 @@ mnemo_func = {'mov': mov, ### "pand": pand, + "pandn": pandn, "por": por, "rdmsr": rdmsr, |