16.42 CCMN (immediate)

Conditional Compare Negative (immediate).

Syntax

CCMN Wn, #imm, #nzcv, cond ; 32-bit

CCMN Xn, #imm, #nzcv, cond ; 64-bit

Where:

Wn
Is the 32-bit name of the first general-purpose source register.
Xn
Is the 64-bit name of the first general-purpose source register.
imm
Is a five bit unsigned immediate.
nzcv
Is the flag bit specifier, an immediate in the range 0 to 15, giving the alternative state for the 4-bit NZCV condition flags.
cond
Is one of the standard conditions.

Operation

Conditional Compare Negative (immediate) sets the value of the condition flags to the result of the comparison of a register value and a negated immediate value if the condition is TRUE, and an immediate value otherwise.

flags = if cond then compare(Rn, #-imm) else #nzcv, where R is either W or X.

Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.