about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/arch/x86/arch.py1
-rw-r--r--test/arch/x86/arch.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py
index 487b0030..a3b3bb95 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -3736,6 +3736,7 @@ addop("outsw", [bs8(0x6f), bs_opmode16])
 addop("outsd", [bs8(0x6f), bs_opmode32])
 addop("outsd", [bs8(0x6f), bs_opmode64])
 
+addop("setalc", [bs8(0xD6)])
 
 # addop("pause", [bs8(0xf3), bs8(0x90)])
 
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py
index db242236..322635e7 100644
--- a/test/arch/x86/arch.py
+++ b/test/arch/x86/arch.py
@@ -72,6 +72,8 @@ reg_tests = [
     (m64, "XXXXXXXX    CPUID",
     "0fa2"),
 
+    (m32, "XXXXXXXX    SETALC",
+    "D6"),
 
     (m32, "XXXXXXXX    PMINSW     MM0, QWORD PTR [EAX]",
     "0fea00"),