Non-Confidential | ![]() | DUI0801J | ||
| ||||
Home > A64 General Instructions > CCMP (immediate) |
Conditional Compare (immediate).
CCMP
Wn
, #imm
, #nzcv
, cond
; 32-bit
CCMP
Xn
, #imm
, #nzcv
, cond
; 64-bit
Where:
Wn
Xn
imm
nzcv
cond
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.
flags = if
, where cond
then compare(R
n,
#imm
) else #nzcv
is either R
W
or
X
.