You copied the Doc URL to your clipboard.

CCMP (register)

Conditional compare (register), setting condition flags to result of comparison or an immediate value.

Syntax

CCMP  Wn, Wm, #nzcv, cond    ; 32-bit general registers
CCMP  Xn, Xm, #nzcv, cond    ; 64-bit general registers

Where:

Wn

Is the 32-bit name of the first general-purpose source register, in the range 0 to 31.

Wm

Is the 32-bit name of the second general-purpose source register, in the range 0 to 31.

Xn

Is the 64-bit name of the first general-purpose source register, in the range 0 to 31.

Xm

Is the 64-bit name of the second general-purpose source register, in the range 0 to 31.

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. Bit 3 is the N flag, bit 2 is the Z flag, bit 1 is the C flag, and bit 0 is the V flag.

cond

Is one of the standard conditions.