about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/arch/x86/sem.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index a5f5d3b2..66c9cea0 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -2619,6 +2619,7 @@ def aam(ir, instr, a):
                          ])
     e += [m2_expr.ExprAff(mRAX[instr.mode], newEAX)]
     e += update_flag_arith(newEAX)
+    e.append(m2_expr.ExprAff(af, m2_expr.ExprInt1(0)))
     return e, []