about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/arch/x86/sem.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index 73ce8d1a..93e24350 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -2882,6 +2882,15 @@ def movd(ir, instr, a, b):
         e.append(ExprAff(a, b[0:32]))
     return e, []
 
+def movdqu(ir, instr, a, b):
+    e = []
+    if isinstance(a, ExprMem):
+        a = ExprMem(a.arg, b.size)
+    elif isinstance(b, ExprMem):
+        b = ExprMem(b.arg, a.size)
+    e.append(ExprAff(a, b))
+    return e, []
+
 
 def xorps(ir, instr, a, b):
     e = []
@@ -3275,6 +3284,7 @@ mnemo_func = {'mov': mov,
               "fnclex": fnclex,
               "str": l_str,
               "movd": movd,
+              "movdqu":movdqu,
               "movaps": movaps,
               "xorps": xorps,