You copied the Doc URL to your clipboard.

CSET

Conditional Set.

This instruction is an alias of CSINC.

Syntax

CSET Wd, cond ; 32-bit general registers

Equivalent to CSINC Wd, WZR, WZR, invert(cond)

CSET Xd, cond ; 64-bit general registers

Equivalent to CSINC Xd, XZR, XZR, invert(cond)

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.

Usage

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

Was this page helpful? Yes No