about summary refs log tree commit diff stats
path: root/test/arch/x86/arch.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2016-04-25 15:25:36 +0200
committerCamille Mougey <commial@gmail.com>2016-04-25 15:25:36 +0200
commit1d2b008cfd6f8ea92c5af3e18081d8c56e43820e (patch)
tree97abff982dbc36116a0adec12eb22b78d78b71b5 /test/arch/x86/arch.py
parentb127dbdfe5832a12f7f328dc560344a9900e8918 (diff)
parent09b8308dddcd52aec8e899674d124122ce8555f5 (diff)
downloadmiasm-1d2b008cfd6f8ea92c5af3e18081d8c56e43820e.tar.gz
miasm-1d2b008cfd6f8ea92c5af3e18081d8c56e43820e.zip
Merge pull request #356 from serpilliere/x86_fix_64_modrm
X86/arch: fix call @imm
Diffstat (limited to 'test/arch/x86/arch.py')
-rw-r--r--test/arch/x86/arch.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py
index 49cfacf4..f3a01d97 100644
--- a/test/arch/x86/arch.py
+++ b/test/arch/x86/arch.py
@@ -790,6 +790,13 @@ reg_tests = [
     (m64, "00000000    CALL       QWORD PTR [RAX+RBX+0x11223344]",
      "ff941844332211"),
 
+    (m64, "XXXXXXXX    CALL       QWORD PTR [EAX+EBX]",
+    "67ff1418"),
+    (m64, "XXXXXXXX    CALL       QWORD PTR [0x11223344]",
+    "ff142544332211"),
+    (m64, "XXXXXXXX    CALL       QWORD PTR [RIP+0x11223344]",
+    "ff1544332211"),
+
 
     (m32, "00000000    CALL       FAR DWORD PTR [EAX]",
      "ff18"),