From 2da0e5e8286eec6872af98fc9c2c541e69fc9c0c Mon Sep 17 00:00:00 2001 From: Ajax Date: Mon, 16 Nov 2015 13:58:00 +0100 Subject: x86/sem: 'aam' af is undefined, but must be set to 0 --- miasm2/arch/x86/sem.py | 1 + 1 file changed, 1 insertion(+) (limited to 'miasm2/arch/x86/sem.py') 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, [] -- cgit 1.4.1