diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-08-16 23:04:49 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-08-16 23:04:49 (GMT) |
commit | 9ed927a6b6405633a82f378438c533fd0112f16d (patch) | |
tree | 69875ffb288bf0dcd57a3b7cee546eca85115914 /src/arch/x86/operand.c | |
parent | db70af80e01199bd2329f0363b9f7769dee1a783 (diff) |
Supported several extra x86 instructions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@181 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/operand.c')
-rw-r--r-- | src/arch/x86/operand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/operand.c b/src/arch/x86/operand.c index e97dc2b..420ceec 100644 --- a/src/arch/x86/operand.c +++ b/src/arch/x86/operand.c @@ -1110,7 +1110,7 @@ GArchOperand *g_x86_moffs_operand_new(const bin_t *data, off_t *pos, off_t len, result = NULL; - offset = g_imm_operand_new_from_data(size/* FIXME : !convert mds/aos */, data, pos, len, SRE_LITTLE /* FIXME */); + offset = g_imm_operand_new_from_data(size, data, pos, len, SRE_LITTLE /* FIXME */); if (offset != NULL) { @@ -1242,7 +1242,7 @@ GArchOperand *g_x86_data_operand_new(MemoryDataSize size, bool dest) result = g_object_new(G_TYPE_X86_DATA_OPERAND, NULL); - result->reg = g_x86_register_new(size, dest ? 0x07 : 0x06); + result->reg = g_x86_register_new(MDS_32_BITS/* FIXME size*/, dest ? 0x07 : 0x06); result->dest = dest; return G_ARCH_OPERAND(result); |