diff options
| author | iximeow <me@iximeow.net> | 2026-08-04 07:21:14 +0000 |
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2026-08-04 07:21:14 +0000 |
| commit | f12b953505ff81e95fa71a8b274718b626529d75 (patch) | |
| tree | 450d7d1a2046bd723a9288e567a3e93a02da11b8 /tests | |
| parent | cb68116db37245bfed09b2eb5ae0d42946fc5a45 (diff) | |
msr confusion like with mrs..
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/armv7/thumb.rs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/armv7/thumb.rs b/tests/armv7/thumb.rs index 914b751..bd1a8a2 100644 --- a/tests/armv7/thumb.rs +++ b/tests/armv7/thumb.rs @@ -4613,6 +4613,31 @@ fn msr_mrs() { &[0x9b, 0xf3, 0x00, 0x85], "msr.w spsr_sc, fp" ); + + test_display( + &[0x87, 0xf3, 0x20, 0x80], + "msr.w r8_usr, r7" + ); + + test_display( + &[0x87, 0xf3, 0x20, 0x89], + "msr.w sb_fiq, r7" + ); + + test_display( + &[0xff, 0xf3, 0x00, 0x86], + "mrs.w r6, spsr" + ); + + test_display( + &[0xf2, 0xf3, 0x30, 0x8c], + "mrs.w ip, spsr_svc" + ); + + test_display( + &[0xfe, 0xf3, 0x30, 0x8c], + "mrs.w ip, spsr_hyp" + ); } #[test] |
