aboutsummaryrefslogtreecommitdiff
path: root/tests/armv7
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2026-08-04 16:23:28 +0000
committeriximeow <me@iximeow.net>2026-08-04 16:23:28 +0000
commit44beb056af5eb39f0433a5e2eb0f757f13621ef2 (patch)
treeba1383d3dd596c4fa30471084e27f7c6a2666fa4 /tests/armv7
parent5e91ddb85ab8d3e654aee57908d3c3df88b006d3 (diff)
write condition code *before* .w suffix
Diffstat (limited to 'tests/armv7')
-rw-r--r--tests/armv7/thumb.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/armv7/thumb.rs b/tests/armv7/thumb.rs
index bd1a8a2..c3935c1 100644
--- a/tests/armv7/thumb.rs
+++ b/tests/armv7/thumb.rs
@@ -781,7 +781,7 @@ fn test_decode_32b_branch_cases() {
);
test_display(
&[0x3f, 0xf4, 0xfe, 0xaf],
- "b.weq $-0x4"
+ "beq.w $-0x4"
);
// Test for yaxpeax-arm #3
// branch target was 0x12198 in initial test case at offset 0x82fc
@@ -790,6 +790,10 @@ fn test_decode_32b_branch_cases() {
&[0x09, 0xf0, 0x4c, 0xbf],
"b.w $+0x9e98"
);
+ test_display(
+ &[0x5c, 0xf1, 0x80, 0xae],
+ "bpl.w $+0xdcd00"
+ )
}
#[test]
fn test_decode_bkpt_cases() {