diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-12-04 08:01:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-12-04 08:01:50 (GMT) |
commit | 6803c5d5b86416d1748d4d37a5cc5cb44fe007b1 (patch) | |
tree | a7a1c2aa9b946a134e93fc6d0c720111f6122138 /src/arch/arm/v7/thumb_32.c | |
parent | 172fce9bab61de1ffa89f731b5d10f96e209afc1 (diff) |
Processed ARM / Thumb16 / Thumb32 data int the proper way.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@434 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v7/thumb_32.c')
-rw-r--r-- | src/arch/arm/v7/thumb_32.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/arch/arm/v7/thumb_32.c b/src/arch/arm/v7/thumb_32.c index 6af804c..87233b4 100644 --- a/src/arch/arm/v7/thumb_32.c +++ b/src/arch/arm/v7/thumb_32.c @@ -128,9 +128,6 @@ GArchInstruction *process_armv7_thumb_32_instruction_set_encoding(uint32_t raw) * § A6.3 32-bit Thumb instruction encoding */ - if (raw == 0x0b00f04f || raw == 0x4ff000b0) - printf("[INIT] raw = 0x%x - mask :: %d\n", raw, (((raw >> 29) & b111) != b111)); - if (((raw >> 29) & b111) != b111) return NULL; result = NULL; @@ -139,9 +136,6 @@ GArchInstruction *process_armv7_thumb_32_instruction_set_encoding(uint32_t raw) op2 = (raw >> 20) & b1111111; op = (raw >> 15) & b1; - if (raw == 0x0b00f04f) - printf("OP1 :: %d\n", op1); - switch (op1) { case b01: @@ -244,7 +238,7 @@ static GArchInstruction *process_armv7_thumb_32_data_processing_modified_immedia * § A6.3.1 Data-processing (modified immediate) */ - if ((raw & 0xfa0080000) != 0xf0000000) return NULL; + if ((raw & 0xfa008000) != 0xf0000000) return NULL; result = NULL; |