summaryrefslogtreecommitdiff
path: root/src/arch/x86/instruction.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2008-09-08 22:53:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2008-09-08 22:53:49 (GMT)
commitb77dcf34b9b2308978e1c6333b34cde9f0e27a8c (patch)
tree9263e556e0e42c915b82fe48a4c3bdc5d2654b24 /src/arch/x86/instruction.h
parentb52f03ab912cd5e51dc2abea20edee6ad38c26fe (diff)
Handled four kinds of the 'test' opcode.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@27 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/instruction.h')
-rw-r--r--src/arch/x86/instruction.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/instruction.h b/src/arch/x86/instruction.h
index 1a9b6d4..38315d9 100644
--- a/src/arch/x86/instruction.h
+++ b/src/arch/x86/instruction.h
@@ -88,12 +88,18 @@ typedef enum _X86Opcodes
X86_OP_SUB8_REG1632, /* sub ([0x66] 0x83) */
X86_OP_XOR8_REG1632, /* xor ([0x66] 0x83) */
+ X86_OP_TEST_RM8, /* test ([0x66] 0x84) */
+ X86_OP_TEST_RM1632, /* test ([0x66] 0x85) */
+
X86_OP_MOV_FROM_CONTENT1632, /* mov ([0x66] 0x8b) */
X86_OP_LEA, /* lea ([0x66] 0x8d) */ /* 66 ? */
X86_OP_NOP, /* nop (0x90) */
+ X86_OP_TEST_AL, /* test ([0x66] 0xa8) */
+ X86_OP_TEST_E_AX, /* test ([0x66] 0xa9) */
+
X86_OP_MOV_E_AX, /* mov ([0x66] 0xb8) */
X86_OP_MOV_E_CX, /* mov ([0x66] 0xb9) */
X86_OP_MOV_E_DX, /* mov ([0x66] 0xba) */