aboutsummaryrefslogtreecommitdiff
path: root/tests/armv7
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2026-08-06 15:39:18 +0000
committeriximeow <me@iximeow.net>2026-08-06 15:39:18 +0000
commitf4cd06d1ca6bbb8ecd5e24e0c1bf4143d95a63c0 (patch)
tree4ffced729110fc0e56c082eef355eb9caa5dae24 /tests/armv7
parent44beb056af5eb39f0433a5e2eb0f757f13621ef2 (diff)
cdp/mrc/mcr opc1 is wider than display knows
i *think* this is fixing an issue that was introduced in the diff between 0.4.0 and 0.5.0, so it's elided from the changelog..
Diffstat (limited to 'tests/armv7')
-rw-r--r--tests/armv7/thumb.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/armv7/thumb.rs b/tests/armv7/thumb.rs
index c3935c1..660ca46 100644
--- a/tests/armv7/thumb.rs
+++ b/tests/armv7/thumb.rs
@@ -4650,6 +4650,16 @@ fn mrc_mcr_cdp() {
&[0x80, 0xfe, 0x80, 0xc6],
"cdp2 p6, 8, c12, c0, c0, 4"
);
+
+ test_display(
+ &[0xa0, 0xee, 0x81, 0x13],
+ "cdp p3, 10, c1, c0, c1, 4",
+ );
+
+ test_display(
+ &[0x54, 0xec, 0xa0, 0x91],
+ "mrrc p1, 10, sb, r4, c0"
+ );
}
#[test]