You copied the Doc URL to your clipboard.

CCMP (immediate)

Conditional Compare (immediate).

Syntax

CCMP Wn, #imm, #nzcv, cond ; 32-bit general registers

CCMP Xn, #imm, #nzcv, cond ; 64-bit general registers

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.

Usage

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