ppc: print 0 offset for memory operand. see issue #856
This commit is contained in:
parent
b4b50fe27f
commit
eebd47d78a
|
@ -502,9 +502,6 @@ static void printS16ImmOperand_Mem(MCInst *MI, unsigned OpNo, SStream *O)
|
|||
{
|
||||
if (MCOperand_isImm(MCInst_getOperand(MI, OpNo))) {
|
||||
short Imm = (short)MCOperand_getImm(MCInst_getOperand(MI, OpNo));
|
||||
// Do not print zero offset
|
||||
if (Imm == 0)
|
||||
return;
|
||||
|
||||
if (Imm >= 0) {
|
||||
if (Imm > HEX_THRESHOLD)
|
||||
|
|
Loading…
Reference in New Issue