about summary refs log tree commit diff stats
path: root/test/arch/arm/arch.py
diff options
context:
space:
mode:
authorwoni <81616747+W0ni@users.noreply.github.com>2024-03-14 18:20:58 +0100
committerwoni <81616747+W0ni@users.noreply.github.com>2024-03-14 18:20:58 +0100
commit16cc7d3b374442808b1d653a0cc6c2477a4a750f (patch)
tree79fb34b97055e5862bfdc59ea902ac0e4070a6db /test/arch/arm/arch.py
parent1885f3caa96cd953e6f90a33b5d3863808cbcf40 (diff)
downloadmiasm-16cc7d3b374442808b1d653a0cc6c2477a4a750f.tar.gz
miasm-16cc7d3b374442808b1d653a0cc6c2477a4a750f.zip
Add MOV and MOVS tests for [AL]SR
Diffstat (limited to 'test/arch/arm/arch.py')
-rw-r--r--test/arch/arm/arch.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/arch/arm/arch.py b/test/arch/arm/arch.py
index 42e80772..a3f3a974 100644
--- a/test/arch/arm/arch.py
+++ b/test/arch/arm/arch.py
@@ -241,7 +241,12 @@ reg_tests_arm = [
      '110f111e'),
     ('XXXXXXXX    MCRCC      p15, 0x0, R8, c2, c0, 0x1',
      '308f023e'),
-
+    ('XXXXXXXX    MOV        R4, R4 ASR 0x20',
+     '4440a0e1'),
+    ('XXXXXXXX    MOV        R2, R5 LSR 0x20',
+     '2520a0e1'),
+    ('XXXXXXXX    MOVS       R2, R5 LSR 0x20',
+     '2520b0e1'),
 
 ]
 ts = time.time()