From a2934a7b6a90cf847c09a0db767faebb111b9d91 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 25 Nov 2014 21:02:18 +0800 Subject: [PATCH] arm: print immediate op of MVN instruction in positive hexadecimal form. issue reported by Pancake --- arch/ARM/ARMInstPrinter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/ARM/ARMInstPrinter.c b/arch/ARM/ARMInstPrinter.c index 2deed925d..960ea43f0 100644 --- a/arch/ARM/ARMInstPrinter.c +++ b/arch/ARM/ARMInstPrinter.c @@ -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);