about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/sem.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-16 13:27:29 +0100
committerAjax <commial@gmail.com>2015-11-16 14:02:39 +0100
commit6d7077ad04e55daaac15ef3b8007bf3975373d34 (patch)
tree509ce6ea16792c99eb9ce548ffa58f5afcffeb32 /miasm2/arch/x86/sem.py
parentd8d4a99b21559514d8371b46e1d1df459b43a41e (diff)
downloadmiasm-6d7077ad04e55daaac15ef3b8007bf3975373d34.tar.gz
miasm-6d7077ad04e55daaac15ef3b8007bf3975373d34.zip
x86/sem: update nzp flags in 'daa'
Diffstat (limited to '')
-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 51bf5d3b..847720fb 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -2574,6 +2574,7 @@ def daa(ir, instr):
                               al_c1 + m2_expr.ExprInt8(0x60),
                               al_c1)
     e.append(m2_expr.ExprAff(r_al, new_al))
+    e += update_flag_znp(new_al)
     return e, []
 
 def das(ir, instr):