diff options
| author | iximeow <me@iximeow.net> | 2026-07-26 07:37:29 +0000 |
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2026-07-28 07:28:15 +0000 |
| commit | e56c1b9c84ae86b6bee7e813fa547975b3fa4532 (patch) | |
| tree | 2166f78dec9999bfa1fa2fec94b9271b146c9fb9 /tests | |
| parent | 273e870aeeacebda604a30f8f63c7a18022c5885 (diff) | |
lsl/mov aliasing
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/armv7/thumb.rs | 10 |
1 files changed, 10 insertions, 0 deletions
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() { |
