|
|
|
@ -420,9 +420,6 @@ 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); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -848,9 +845,6 @@ 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); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|