mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-12-14 00:49:53 +00:00
arm: print immediate op of MVN instruction in positive hexadecimal form. issue reported by Pancake
This commit is contained in:
parent
4e732c7db4
commit
a2934a7b6a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user