summaryrefslogtreecommitdiff
path: root/src/arch/mips
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-08-01 00:56:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-08-01 00:56:47 (GMT)
commit290f48b2c2008a3479cd1585eb04b89c5744f034 (patch)
treec9d1eae9a08884de9ee8fe31cbd7756f8e1ca298 /src/arch/mips
parent73af1bd66e5d1a2e30d56151532710f2b28d12df (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/mips')
-rw-r--r--src/arch/mips/operand.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/mips/operand.c b/src/arch/mips/operand.c
index 4021cf6..6c88a7e 100644
--- a/src/arch/mips/operand.c
+++ b/src/arch/mips/operand.c
@@ -407,7 +407,7 @@ GArchOperand *g_mips_mem_content_operand_new(bin_t index, int16_t offset)
result = g_object_new(G_TYPE_MIPS_MEM_CONTENT_OPERAND, NULL);
result->base = base;
- result->offset = g_imm_operand_new_from_value(AOS_16_BITS_SIGNED, offset);
+ result->offset = g_imm_operand_new_from_value(MDS_16_BITS_SIGNED, offset);
}
else result = NULL;
@@ -523,7 +523,7 @@ GArchOperand *g_mips_offset_operand_new(int16_t offset)
result = g_object_new(G_TYPE_MIPS_OFFSET_OPERAND, NULL);
- result->offset = g_imm_operand_new_from_value(AOS_16_BITS_SIGNED, offset);
+ result->offset = g_imm_operand_new_from_value(MDS_16_BITS_SIGNED, offset);
return G_ARCH_OPERAND(result);
@@ -613,7 +613,7 @@ bool mips_read_n_operands(GArchInstruction *instr, const bin_t *data, off_t *pos
break;
case MIPS_OTP_IMMEDIATE:
- op = g_imm_operand_new_from_value(AOS_16_BITS, code & 0xffff);
+ op = g_imm_operand_new_from_value(MDS_16_BITS, code & 0xffff);
break;
@@ -628,7 +628,7 @@ bool mips_read_n_operands(GArchInstruction *instr, const bin_t *data, off_t *pos
break;
case MIPS_OTP_SA:
- op = g_imm_operand_new_from_value(AOS_8_BITS, (code & 0x7c0) >> 6);
+ op = g_imm_operand_new_from_value(MDS_8_BITS, (code & 0x7c0) >> 6);
break;
default: