You copied the Doc URL to your clipboard.

CSET

Conditional Set.

This instruction is an alias of CSINC.

The equivalent instruction is CSINC Wd, WZR, WZR, invert(cond).

Syntax

CSET Wd, cond ; 32-bit

CSET Xd, cond ; 64-bit

Where:

Wd
Is the 32-bit name of the general-purpose destination register.
Xd
Is the 64-bit name of the general-purpose destination register.
cond
Is one of the standard conditions, excluding AL and NV.

Operation

Conditional Set sets the destination register to 1 if the condition is TRUE, and otherwise sets it to 0.

Rd = if cond then 1 else 0, where R is either W or X.

Was this page helpful? Yes No