|
|
|
@ -420,10 +420,7 @@ static void _printOperand(MCInst *MI, unsigned OpNo, SStream *O) |
|
|
|
|
printRegName(O, MCOperand_getReg(Op)); |
|
|
|
|
} else if (MCOperand_isImm(Op)) { |
|
|
|
|
int64_t imm = MCOperand_getImm(Op); |
|
|
|
|
if (MI->csh->imm_unsigned == CS_OPT_ON) |
|
|
|
|
printImm(MI->csh->syntax, O, imm, true); |
|
|
|
|
else |
|
|
|
|
printImm(MI->csh->syntax, O, imm, false); |
|
|
|
|
printImm(MI->csh->syntax, O, imm, false); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -848,10 +845,7 @@ static void printOperand(MCInst *MI, unsigned OpNo, SStream *O) |
|
|
|
|
// printf(">>> id = %u\n", MI->flat_insn->id);
|
|
|
|
|
switch(MI->flat_insn->id) { |
|
|
|
|
default: |
|
|
|
|
if (MI->csh->imm_unsigned == CS_OPT_ON) |
|
|
|
|
printImm(MI->csh->syntax, O, imm, true); |
|
|
|
|
else |
|
|
|
|
printImm(MI->csh->syntax, O, imm, false); |
|
|
|
|
printImm(MI->csh->syntax, O, imm, false); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case X86_INS_MOVABS: |
|
|
|
|