about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/sem.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/arch/x86/sem.py')
-rw-r--r--miasm2/arch/x86/sem.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index 6e22e66d..bc98baf3 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -1845,18 +1845,15 @@ def ficom(ir, instr, a, b = None):
 
 
 def fcomi(ir, instr, a):
-    # Invalid emulation
-    InvalidEmulation
+    raise NotImplementedError("Invalid emulation")
 
 
 def fcomip(ir, instr, a):
-    # Invalid emulation
-    InvalidEmulation
+    raise NotImplementedError("Invalid emulation")
 
 
 def fucomi(ir, instr, a):
-    # Invalid emulation
-    InvalidEmulation
+    raise NotImplementedError("Invalid emulation")
 
 
 def fucomip(ir, instr, a, b):