about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-16 13:28:21 +0100
committerAjax <commial@gmail.com>2015-11-16 14:02:39 +0100
commit2370668e86ea15e3a74abcf150449be31b1990e6 (patch)
tree15c0d1e8b91acd9e2b8d00bfd1ee0011700f3fc0
parent6d7077ad04e55daaac15ef3b8007bf3975373d34 (diff)
downloadmiasm-2370668e86ea15e3a74abcf150449be31b1990e6.tar.gz
miasm-2370668e86ea15e3a74abcf150449be31b1990e6.zip
x86/sem: update nzp flags in 'das'
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 847720fb..3f4168f8 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -2605,6 +2605,7 @@ def das(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, []