From 475321a686f346ac51cded60384a903fa8e9fdf8 Mon Sep 17 00:00:00 2001 From: iximeow Date: Fri, 11 Sep 2026 16:15:14 +0000 Subject: fix hvc immediate missing its upper four bits --- tests/armv7/thumb.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests') 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] -- cgit v1.1