|
|
|
@ -614,7 +614,7 @@ static void printOperand(MCInst *MI, unsigned OpNo, SStream *O) |
|
|
|
|
printUInt64Bang(O, imm); |
|
|
|
|
if (MI->csh->detail) { |
|
|
|
|
if (MI->csh->doing_mem) { |
|
|
|
|
MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].mem.disp = imm; |
|
|
|
|
MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].mem.disp = (int32_t)imm; |
|
|
|
|
} else { |
|
|
|
|
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 = imm; |
|
|
|
|