summaryrefslogtreecommitdiff
path: root/src/arch/x86/op_int.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-10-07 00:22:10 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-10-07 00:22:10 (GMT)
commitdaa0084325d4e748f334a223e1cd3800120e6055 (patch)
tree9f8bfe9296e1a4f6aa945418293f895303b771e2 /src/arch/x86/op_int.c
parentd9be16271ab3fbb95d6c95baa92242358f0e7dfd (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/op_int.c')
-rw-r--r--src/arch/x86/op_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/op_int.c b/src/arch/x86/op_int.c
index cbeda87..eef2c1c 100644
--- a/src/arch/x86/op_int.c
+++ b/src/arch/x86/op_int.c
@@ -55,7 +55,7 @@ GArchInstruction *x86_read_instr_int_3(const bin_t *data, off_t *pos, off_t len,
result = g_x86_instruction_new(XOP_INT_3);
three = g_imm_operand_new_from_value(AOS_8_BITS, 3);
- g_arch_instruction_attach_one_operand(result, three);
+ g_arch_instruction_attach_extra_operand(result, three);
return result;