about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2016-09-08 13:41:06 +0200
committerGitHub <noreply@github.com>2016-09-08 13:41:06 +0200
commit66244d2922adab3b9fe85ba3fb3cfd4a2ba98559 (patch)
tree392ee115bfb91f39c0d8409b04888234ec49bb7c /test
parent80da9c3c07130f80ad2ecc6f70b80093b601a423 (diff)
parent1c8f058dd74b04bb407962780b3e78cd120bfdd1 (diff)
downloadmiasm-66244d2922adab3b9fe85ba3fb3cfd4a2ba98559.tar.gz
miasm-66244d2922adab3b9fe85ba3fb3cfd4a2ba98559.zip
Merge pull request #423 from serpilliere/fix_x86_sldt
Arch/x86: fix sldt
Diffstat (limited to '')
-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]",