about summary refs log tree commit diff stats
path: root/test/arch/x86/arch.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2015-11-17 14:18:16 +0100
committerserpilliere <serpilliere@users.noreply.github.com>2015-11-17 14:18:16 +0100
commita49419dd5e16283b1663181a47cdc85b7eff14dc (patch)
treeeed2791c9c96039c6603d0173646eb4265a85366 /test/arch/x86/arch.py
parentc0826fefbbcd00c60f0e9f27dcac92c98fcb9d8e (diff)
parentbf4c21011c8396b939e147615d12998a11c91dcd (diff)
downloadmiasm-a49419dd5e16283b1663181a47cdc85b7eff14dc.tar.gz
miasm-a49419dd5e16283b1663181a47cdc85b7eff14dc.zip
Merge pull request #277 from commial/fix-x86-xchg
Fix x86 xchg
Diffstat (limited to '')
-rw-r--r--test/arch/x86/arch.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py
index 5721d72a..7d6260a2 100644
--- a/test/arch/x86/arch.py
+++ b/test/arch/x86/arch.py
@@ -832,6 +832,14 @@ reg_tests = [
      "0fb000"),
     (m32, "00000000    CMPXCHG    DWORD PTR [EAX], EAX",
      "0fb100"),
+    (m16, "00000000    CMPXCHG8B  QWORD PTR [SI+0x24]",
+     "0fc74c24"),
+    (m32, "00000000    CMPXCHG8B  QWORD PTR [ESP+0x8]",
+     "0fc74c2408"),
+    (m64, "00000000    CMPXCHG8B  QWORD PTR [RSP+0x8]",
+     "0fc74c2408"),
+    (m64, "00000000    CMPXCHG16B QWORD PTR [RSP+0x8]",
+     "480fc74c2408"),
 
     (m32, "00000000    CDQ",
      "99"),