arm64: more fix for imm of MOV instruction. issue #1456

This commit is contained in:
Nguyen Anh Quynh 2019-04-12 23:49:42 +08:00
parent 063cf90a87
commit 02d23a1aa0

View File

@ -611,7 +611,7 @@ void AArch64_printInst(MCInst *MI, SStream *O, void *Info)
MI->flat_insn->detail->arm64.op_count++;
MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].type = ARM64_OP_IMM;
MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].imm = RegWidth;
MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].imm = SignExtend64(Value, RegWidth);
MI->flat_insn->detail->arm64.op_count++;
}