about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--miasm/arch/ia32_arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/arch/ia32_arch.py b/miasm/arch/ia32_arch.py
index 6b47bd26..dc66fc0f 100644
--- a/miasm/arch/ia32_arch.py
+++ b/miasm/arch/ia32_arch.py
@@ -2168,7 +2168,7 @@ class x86_mn:
                     tmp_o = [a2,a1]
                     if c.modifs[se] and size[0] !=size[1]:
                         size[1] = size[0]
-                    if size[0] !=size[1] and name !='movzx':
+                    if size[0] !=size[1] and not name in ['movzx', 'mozsx']:
                         if tmp_order[0][x86_afs.ad]:
                             size[1] = size[0]
                         else: