diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-01-16 07:47:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-01-16 07:47:57 (GMT) |
commit | 7a834754c404b72c555f8032d4f7aeed1710ff3c (patch) | |
tree | 7b7ddd0e21b8c835031d27719d91a384909d7dd5 /src/arch/arm/v7/helpers.h | |
parent | e28ba4839188307f94293af4e29ed6e774c0a499 (diff) |
Supported new ARMv7 instructions and fixed several bugs in ARM/Thumb decodings.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@456 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v7/helpers.h')
-rw-r--r-- | src/arch/arm/v7/helpers.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/arm/v7/helpers.h b/src/arch/arm/v7/helpers.h index 919611e..0a1d934 100644 --- a/src/arch/arm/v7/helpers.h +++ b/src/arch/arm/v7/helpers.h @@ -39,6 +39,13 @@ +#define Imm16(imm16) \ + ({ \ + GArchOperand *__result; \ + __result = g_imm_operand_new_from_value(MDS_16_BITS_UNSIGNED, (uint16_t)imm16); \ + __result; \ + }) + #define ARMExpandImm_C(imm12, c) \ ({ \ GArchOperand *__result; \ |