diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-10-07 00:22:10 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-10-07 00:22:10 (GMT) |
commit | daa0084325d4e748f334a223e1cd3800120e6055 (patch) | |
tree | 9f8bfe9296e1a4f6aa945418293f895303b771e2 /src/arch/x86/instruction.h | |
parent | d9be16271ab3fbb95d6c95baa92242358f0e7dfd (diff) |
Created a function to load n x86 operands and supported extra x86 opcodes.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@128 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/instruction.h')
-rw-r--r-- | src/arch/x86/instruction.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/arch/x86/instruction.h b/src/arch/x86/instruction.h index ad50834..de5f124 100644 --- a/src/arch/x86/instruction.h +++ b/src/arch/x86/instruction.h @@ -50,11 +50,12 @@ typedef enum _X86Opcodes XOP_JE_REL1632, /* je ([0x66] 0x0f 0x84) */ XOP_JNE_REL1632, /* jne ([0x66] 0x0f 0x85) */ - + XOP_JBE_REL1632, /* jbe ([0x66] 0x0f 0x86) */ XOP_JA_REL1632, /* jne ([0x66] 0x0f 0x87) */ XOP_JGE_REL1632, /* jge ([0x66] 0x0f 0x8d) */ XOP_JLE_REL1632, /* jle ([0x66] 0x0f 0x8e) */ + XOP_JG_REL1632, /* jle ([0x66] 0x0f 0x8f) */ XOP_SETE_RM8, /* sete ([0x66] 0x0f 0x94) */ XOP_SETNE_RM8, /* setne ([0x66] 0x0f 0x95) */ @@ -65,6 +66,10 @@ typedef enum _X86Opcodes XOP_ADC_RM8_R8, /* adc (0x10) */ XOP_AND_RM8_R8, /* and (0x20) */ + XOP_AND_RM1632_R1632, /* and ([0x66] 0x21) */ + + XOP_AND_AL_IMM8, /* and (0x24) */ + XOP_AND_E_AX_IMM1632, /* and ([0x66] 0x25) */ XOP_SUB_RM1632_R1632, /* sub ([0x66] 0x29) */ @@ -81,8 +86,11 @@ typedef enum _X86Opcodes XOP_XOR_AL_IMM8, /* xor (0x34) */ XOP_XOR_E_AX_IMM1632, /* xor ([0x66] 0x35) */ - XOP_CMP_RM1632_R1632, /* cmp ([0x66] 0x39) */ + + XOP_CMP_R1632_RM1632, /* cmp ([0x66] 0x3b) */ + + XOP_INC_E_AX, /* inc ([0x66] 0x40) */ XOP_INC_E_CX, /* inc ([0x66] 0x41) */ XOP_INC_E_DX, /* inc ([0x66] 0x42) */ @@ -118,6 +126,7 @@ typedef enum _X86Opcodes XOP_PUSH_IMM1632, /* push ([0x66] 0x68) */ + XOP_IMUL_R1632_RM1632_IMM1632, /* imul ([0x66] 0x69) */ XOP_IMUL_RM1632_IMM8, /* imul ([0x66] 0x6b) */ |