about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2017-04-06 12:55:36 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2017-04-06 13:13:47 +0200
commitb01e236874742ff1462913c9e48fcde3e8f7660a (patch)
treeac545359b65f351150a870f9a6b2f4a0aa92bbbd /test
parent853ced97f700acb0d2d99762d161290e9f604b40 (diff)
downloadmiasm-b01e236874742ff1462913c9e48fcde3e8f7660a.tar.gz
miasm-b01e236874742ff1462913c9e48fcde3e8f7660a.zip
Aarch64: fix ldr
Diffstat (limited to 'test')
-rw-r--r--test/arch/aarch64/arch.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/arch/aarch64/arch.py b/test/arch/aarch64/arch.py
index cca9184a..4fc9a3c4 100644
--- a/test/arch/aarch64/arch.py
+++ b/test/arch/aarch64/arch.py
@@ -1700,8 +1700,14 @@ reg_tests_aarch64 = [
     ("0000D26C    SDIV       X1, X0, X1",
      "010CC19A"),
 
-    ("0000CC50    LDR        D4, 0xD0",
+    ("0000CC50    LDR        D4, [PC, 0xD0]",
      "8406005C"),
+    ("0000CC50    LDR        D4, [PC]",
+     "0400005C"),
+
+    ("0000CC50    LDRSW      X4, [PC, 0xD0]",
+     "84060098"),
+
 
     ("0000CC90    LSL        W5, W7, W3",
      "E520C31A"),