diff options
Diffstat (limited to 'src/arch/mips')
-rw-r--r-- | src/arch/mips/operand.c | 8 |
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: |