about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/sem.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2018-02-09 14:54:18 +0100
committerAjax <commial@gmail.com>2018-02-09 17:36:31 +0100
commit104d1425792e95a3df64aede5d46b43c324ca125 (patch)
treeb2f076cc353b876f35fe5c602f2c867aeaba203c /miasm2/arch/x86/sem.py
parent971b683a5f068068a2d775d5807deacd13918cf9 (diff)
downloadmiasm-104d1425792e95a3df64aede5d46b43c324ca125.tar.gz
miasm-104d1425792e95a3df64aede5d46b43c324ca125.zip
Add EMMS, implemtend as a NOP
Diffstat (limited to 'miasm2/arch/x86/sem.py')
-rw-r--r--miasm2/arch/x86/sem.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index becee84e..ddc8aaf9 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -4447,6 +4447,11 @@ def maskmovq(ir, instr, src, mask):
     return e, blks
 
 
+def emms(ir, instr):
+    # Implemented as a NOP
+    return [], []
+
+
 mnemo_func = {'mov': mov,
               'xchg': xchg,
               'movzx': movzx,
@@ -4984,6 +4989,7 @@ mnemo_func = {'mov': mov,
               "smsw": smsw,
               "maskmovq": maskmovq,
               "maskmovdqu": maskmovq,
+              "emms": emms,
               }