diff options
Diffstat (limited to 'tests/armv7/thumb.rs')
| -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() { |
