diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-08-01 00:56:47 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-08-01 00:56:47 (GMT) |
commit | 290f48b2c2008a3479cd1585eb04b89c5744f034 (patch) | |
tree | c9d1eae9a08884de9ee8fe31cbd7756f8e1ca298 /src/arch/x86/op_mov.c | |
parent | 73af1bd66e5d1a2e30d56151532710f2b28d12df (diff) |
Deleted the 'AsmOperandSize' definition and set the x86 minimal instruction size.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@176 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/op_mov.c')
-rw-r--r-- | src/arch/x86/op_mov.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/x86/op_mov.c b/src/arch/x86/op_mov.c index 4532e90..67ef1c8 100644 --- a/src/arch/x86/op_mov.c +++ b/src/arch/x86/op_mov.c @@ -82,7 +82,7 @@ GArchInstruction *x86_read_instr_mov_al_moffs8(const bin_t *data, off_t *pos, of GArchInstruction *x86_read_instr_mov_e_ax_moffs1632(const bin_t *data, off_t *pos, off_t len, vmpa_t addr, X86Prefix prefix, const GX86Processor *proc) { GArchInstruction *result; /* Instruction à retourner */ - AsmOperandSize oprsize; /* Taille des opérandes */ + MemoryDataSize oprsize; /* Taille des opérandes */ result = g_x86_instruction_new(XOP_MOV_E_AX_MOFFS1632); @@ -151,7 +151,7 @@ GArchInstruction *x86_read_instr_mov_moffs8_al(const bin_t *data, off_t *pos, of GArchInstruction *x86_read_instr_mov_moffs1632_e_ax(const bin_t *data, off_t *pos, off_t len, vmpa_t addr, X86Prefix prefix, const GX86Processor *proc) { GArchInstruction *result; /* Instruction à retourner */ - AsmOperandSize oprsize; /* Taille des opérandes */ + MemoryDataSize oprsize; /* Taille des opérandes */ result = g_x86_instruction_new(XOP_MOV_MOFFS1632_E_AX); @@ -224,7 +224,7 @@ GArchInstruction *x86_read_instr_mov_r1632_imm1632(const bin_t *data, off_t *pos { GArchInstruction *result; /* Instruction à retourner */ X86Opcodes opcode; /* Instruction effective */ - AsmOperandSize oprsize; /* Taille des opérandes */ + MemoryDataSize oprsize; /* Taille des opérandes */ opcode = XOP_MOV_E_AX_IMM1632 + (data[*pos] - 0xb8); @@ -262,7 +262,7 @@ GArchInstruction *x86_read_instr_mov_r1632_imm1632(const bin_t *data, off_t *pos GArchInstruction *x86_read_instr_mov_r1632_rm1632(const bin_t *data, off_t *pos, off_t len, vmpa_t addr, X86Prefix prefix, const GX86Processor *proc) { GArchInstruction *result; /* Instruction à retourner */ - AsmOperandSize oprsize; /* Taille des opérandes */ + MemoryDataSize oprsize; /* Taille des opérandes */ result = g_x86_instruction_new(XOP_MOV_R1632_RM1632); @@ -359,7 +359,7 @@ GArchInstruction *x86_read_instr_mov_rm8_r8(const bin_t *data, off_t *pos, off_t GArchInstruction *x86_read_instr_mov_rm1632_imm1632(const bin_t *data, off_t *pos, off_t len, vmpa_t addr, X86Prefix prefix, const GX86Processor *proc) { GArchInstruction *result; /* Instruction à retourner */ - AsmOperandSize oprsize; /* Taille des opérandes */ + MemoryDataSize oprsize; /* Taille des opérandes */ result = g_x86_instruction_new(XOP_MOV_RM1632_IMM1632); @@ -395,7 +395,7 @@ GArchInstruction *x86_read_instr_mov_rm1632_imm1632(const bin_t *data, off_t *po GArchInstruction *x86_read_instr_mov_rm1632_r1632(const bin_t *data, off_t *pos, off_t len, vmpa_t addr, X86Prefix prefix, const GX86Processor *proc) { GArchInstruction *result; /* Instruction à retourner */ - AsmOperandSize oprsize; /* Taille des opérandes */ + MemoryDataSize oprsize; /* Taille des opérandes */ result = g_x86_instruction_new(XOP_MOV_RM1632_R1632); |