aboutsummaryrefslogtreecommitdiff
path: root/tests/armv7
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2026-09-11 16:15:14 +0000
committeriximeow <me@iximeow.net>2026-09-11 16:19:27 +0000
commit475321a686f346ac51cded60384a903fa8e9fdf8 (patch)
tree4aa7514bfc80d4042db303a6fc0943e7adcc1714 /tests/armv7
parentcf151c1dc6926bf7d14eb5a50afe42b79e6fd481 (diff)
fix hvc immediate missing its upper four bits
Diffstat (limited to 'tests/armv7')
-rw-r--r--tests/armv7/thumb.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/armv7/thumb.rs b/tests/armv7/thumb.rs
index 00b5802..6b8c891 100644
--- a/tests/armv7/thumb.rs
+++ b/tests/armv7/thumb.rs
@@ -4746,6 +4746,19 @@ fn prefetch() {
&[0x10, 0xf8, 0x7c, 0xfe],
"ldrbt.w pc, [r0, #0x7c]"
);
+
+ test_display(
+ &[0x93, 0xf9, 0x00, 0xf6],
+ "pli.w [r3, #0x6000x78]"
+ );
+}
+
+#[test]
+fn hvc() {
+ test_display(
+ &[0xe2, 0xf7, 0x00, 0x81],
+ "hvc.w #0x2100"
+ );
}
#[test]