aboutsummaryrefslogtreecommitdiff
path: root/test
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
commitbe97f60c41ff46e8b7a894cf5faf67109c3d4288 (patch)
tree58ba58588bc646f22ce3509b0c0926520b3036e5 /test
parented2a36de61a295f7c17378598f5a60e7de9d8b8a (diff)
decode blx
Diffstat (limited to 'test')
-rw-r--r--test/armv7.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/armv7.rs b/test/armv7.rs
index 7715585..13c986e 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"
);