aboutsummaryrefslogtreecommitdiff
path: root/test/armv7.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-08-04 19:12:54 -0700
committeriximeow <me@iximeow.net>2020-01-12 17:28:07 -0800
commit120adb21db26779729c026b576739b1de82bc198 (patch)
tree7a3e5c89c6ada80fe39c0721d756838e298bf1cd /test/armv7.rs
parent8b9d5f9c6003864870dccfe2c0f71729d4b99564 (diff)
decode blx
Diffstat (limited to 'test/armv7.rs')
-rw-r--r--test/armv7.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/armv7.rs b/test/armv7.rs
index af5336c..f7ab079 100644
--- a/test/armv7.rs
+++ b/test/armv7.rs
@@ -86,6 +86,10 @@ fn test_decode_str_ldr() {
#[test]
fn test_decode_misc() {
test_display(
+ [0x32, 0xff, 0x2f, 0xe1],
+ "blx r2"
+ );
+ test_display(
[0x02, 0x00, 0xa0, 0xe3],
"mov r0, 0x2"
);