aboutsummaryrefslogtreecommitdiff
path: root/test/armv7.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/armv7.rs')
-rw-r--r--test/armv7.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/armv7.rs b/test/armv7.rs
index c76cb4a..6fd46c3 100644
--- a/test/armv7.rs
+++ b/test/armv7.rs
@@ -163,6 +163,15 @@ fn test_decode_mov() {
#[test]
fn test_decode_arithmetic() {
test_decode(
+ [0x58, 0x37, 0x01, 0x40],
+ Instruction {
+ condition: ConditionCode::MI,
+ opcode: AND,
+ operands: Operands::ThreeOperands(3, 1, 8),
+ s: false
+ }
+ );
+ test_decode(
[0x03, 0x30, 0x8f, 0xe0],
Instruction {
condition: ConditionCode::AL,