ccmp
Conditional Compare (Immediate)
CCMP <Wn>, #<imm>, #<nzcv>, <cond>
Compares register with immediate if condition is true.
Details
The Conditional Compare instruction compares register with immediate if condition is true.
Pseudocode Operation
// Compares register with immediate if condition is true
Example
CCMP w1, #16, #nzcv, cond
Encoding
Binary Layout
01111010
010
imm5
cond
1
0
Rn
0
nzcv
Operands
-
Wn
Reg -
imm
Imm -
nzcv
Flags -
cond
Condition