From 964ca6566c61b0c7cd48d8801c74d1b4dfe0b7a2 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 4 Aug 2019 13:24:42 -0700 Subject: add regression test --- test/armv7.rs | 9 +++++++++ 1 file changed, 9 insertions(+) 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, -- cgit v1.1