From e56c1b9c84ae86b6bee7e813fa547975b3fa4532 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 26 Jul 2026 07:37:29 +0000 Subject: lsl/mov aliasing --- tests/armv7/thumb.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests') diff --git a/tests/armv7/thumb.rs b/tests/armv7/thumb.rs index 6384af7..998b9e5 100644 --- a/tests/armv7/thumb.rs +++ b/tests/armv7/thumb.rs @@ -2681,6 +2681,16 @@ fn test_decode_mov_cases() { &[0xff, 0x46], "mov pc, pc" ); + + // lsl r0, r0, 0x0: "if imm5 == '00000' then SEE MOV (register); + test_display( + &[0x00, 0x00], + "movs r0, r0" + ); + test_display( + &[0x11, 0x00], + "movs r1, r2" + ); } #[test] fn test_decode_op_s_cases() { -- cgit v1.1