summaryrefslogtreecommitdiff
path: root/src/arch/x86/instruction.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-06-30 20:24:59 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-06-30 20:24:59 (GMT)
commitdde6bbf77e6a6df95dad5426e56a4bba115a7253 (patch)
treee7eebe20118143e901472b07b55ca3d59e2a65ab /src/arch/x86/instruction.h
parent2c9fa2bc584305985ae53958ea2fb371adba3834 (diff)
Added a few extra opcodes: imul, jle, movsx and movzx.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@85 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/instruction.h')
-rw-r--r--src/arch/x86/instruction.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/arch/x86/instruction.h b/src/arch/x86/instruction.h
index 460dd0e..2f59c46 100644
--- a/src/arch/x86/instruction.h
+++ b/src/arch/x86/instruction.h
@@ -45,6 +45,11 @@ typedef enum _X86Opcodes
XOP_OR_R8_RM8, /* or (0x0a) */
XOP_OR_AL_IMM8, /* or (0x0c) */
+ XOP_JLE_REL1632, /* jle ([0x66] 0x0f 0x8e) */
+
+ XOP_MOVZX_R1632_RM8, /* movzx ([0x66] 0x0f 0xb6) */
+ XOP_MOVSX_R1632_RM8, /* movsx ([0x66] 0x0f 0xbe) */
+
XOP_ADC_RM8_R8, /* adc (0x10) */
XOP_AND_RM8_R8, /* and (0x20) */
@@ -102,6 +107,7 @@ typedef enum _X86Opcodes
XOP_PUSH_IMM1632, /* push ([0x66] 0x68) */
+ XOP_IMUL_RM1632_IMM8, /* imul ([0x66] 0x6b) */
XOP_JO_REL8, /* jo (0x70) */
XOP_JNO_REL8, /* jno (0x71) */
@@ -285,7 +291,9 @@ enum _X86Prefix
XPX_OPERAND_SIZE_OVERRIDE = (1 << 0), /* Taille des opérandes */
- XPX_REPEAT_STRING_OPERATION = (1 << 2) /* Boucle pour les chaînes */
+ XPX_REPEAT_STRING_OPERATION = (1 << 2), /* Boucle pour les chaînes */
+
+ XPX_TWO_BYTES = (1 << 3) /* Instruction sur deux octets */
};