arm: print immediate op of MVN instruction in positive hexadecimal form. issue reported by Pancake

This commit is contained in:
Nguyen Anh Quynh 2014-11-25 21:02:18 +08:00
parent 4e732c7db4
commit a2934a7b6a

View File

@ -650,6 +650,7 @@ static void printOperand(MCInst *MI, unsigned OpNo, SStream *O)
case ARM_INS_ORR:
case ARM_INS_EOR:
case ARM_INS_BIC:
case ARM_INS_MVN:
// do not print number in negative form
if (imm >= 0 && imm <= HEX_THRESHOLD)
SStream_concat(O, "#%u", imm);