diff options
Diffstat (limited to 'test/test.rs')
-rw-r--r-- | test/test.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test.rs b/test/test.rs index de70f47..177e748 100644 --- a/test/test.rs +++ b/test/test.rs @@ -91,6 +91,18 @@ fn test_decode_str_ldr() { } #[test] +fn test_decode_misc() { + test_display( + [0x02, 0x00, 0xa0, 0xe3], + "mov r0, 0x2" + ); + test_display( + [0xe8, 0x10, 0x9f, 0xe5], + "ldr r1, [pc, #0x3a0]" + ); +} + +#[test] fn test_decode_pop() { test_decode( [0x04, 0x10, 0x9d, 0xe4], |