ppc: print 0 offset for memory operand. see issue #856

This commit is contained in:
Nguyen Anh Quynh 2017-02-19 21:27:17 +08:00
parent b4b50fe27f
commit eebd47d78a
1 changed files with 0 additions and 3 deletions

View File

@ -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)