about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2012-10-30 10:21:35 +0100
committerserpilliere <devnull@localhost>2012-10-30 10:21:35 +0100
commit5d813d7b9a9a6384ec0f872cf4d186dc0567a17e (patch)
tree45922d4656baa2ecf24f581fd55535184aac0a95
parent0abd2da60058918f93ca1e08b9716cf3005aab1e (diff)
downloadmiasm-5d813d7b9a9a6384ec0f872cf4d186dc0567a17e.tar.gz
miasm-5d813d7b9a9a6384ec0f872cf4d186dc0567a17e.zip
ia32_arch: fix movsx assembly
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: