summaryrefslogtreecommitdiff
path: root/src/arch/x86/instruction.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2008-07-31 21:46:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2008-07-31 21:46:47 (GMT)
commit3786e818fdf8731dd6f310f0aaac75d431646160 (patch)
treea1dc1d1ed27c56d7ae2e361102fef7310a9b1a21 /src/arch/x86/instruction.h
parent57758c2cd11938e3e4c6e45b983cee4c2269ff44 (diff)
Handled the virtual offset and fixed the operand-size overriding.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@11 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 83f8cf0..d88e971 100644
--- a/src/arch/x86/instruction.h
+++ b/src/arch/x86/instruction.h
@@ -74,6 +74,8 @@ typedef enum _X86Opcodes
X86_OP_POP_ESI, /* pop (0x5e) */
X86_OP_POP_EDI, /* pop (0x5f) */
+ X86_OP_PUSH_IMM32, /* push (0x68) */
+
X86_OP_NOP, /* nop (0x90) */
X86_OP_MOV_AX, /* mov (0xb8) */
@@ -87,6 +89,8 @@ typedef enum _X86Opcodes
X86_OP_INT, /* int (0xcd) */
+ X86_OP_CALL, /* call (0xe8) */
+
X86_OP_HLT, /* hlt (0xf4) */
X86_OP_INC_AX, /* inc (0x66 0x40) */
@@ -125,6 +129,8 @@ typedef enum _X86Opcodes
X86_OP_POP_SI, /* pop (0x66 0x5e) */
X86_OP_POP_DI, /* pop (0x66 0x5f) */
+ X86_OP_PUSH_IMM16, /* push (0x66 0x68) */
+
X86_OP_MOV_EAX, /* mov (0x66 0xb8) */
X86_OP_MOV_ECX, /* mov (0x66 0xb9) */
X86_OP_MOV_EDX, /* mov (0x66 0xba) */