about summary refs log tree commit diff stats
path: root/test/arch/x86/arch.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2016-09-07 21:56:08 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2016-09-07 21:56:08 +0200
commit1c8f058dd74b04bb407962780b3e78cd120bfdd1 (patch)
tree0ba5c8ea598a18aa0e2019803e202a2d6a99da25 /test/arch/x86/arch.py
parent292a5d639cdb64b0b2eb1d855cf93dc4d3c4d1d9 (diff)
downloadmiasm-1c8f058dd74b04bb407962780b3e78cd120bfdd1.tar.gz
miasm-1c8f058dd74b04bb407962780b3e78cd120bfdd1.zip
Arch/x86: fix sldt
Diffstat (limited to 'test/arch/x86/arch.py')
-rw-r--r--test/arch/x86/arch.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py
index 80a8563d..e6797da2 100644
--- a/test/arch/x86/arch.py
+++ b/test/arch/x86/arch.py
@@ -2128,8 +2128,12 @@ reg_tests = [
 
     (m32, "00000000    SIDT       DWORD PTR [EAX]",
      "0f0108"),
-    (m32, "00000000    SLDT       DWORD PTR [EAX]",
+    (m32, "00000000    SLDT       WORD PTR [EAX]",
      "0f0000"),
+    (m32, "00000000    SLDT       EAX",
+     "0f00C0"),
+    (m32, "00000000    SLDT       AX",
+     "660f00C0"),
 
 
     (m32, "00000000    LGDT       DWORD PTR [EAX]",