You copied the Doc URL to your clipboard.

CSETM

Conditional Set Mask.

This instruction is an alias of CSINV.

Syntax

CSETM Wd, cond ; 32-bit general registers

Equivalent to CSINV Wd, WZR, WZR, invert(cond).

CSETM Xd, cond ; 64-bit general registers

Equivalent to CSINV 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.

Operation

Conditional Set Mask sets all bits of the destination register to 1 if the condition is TRUE, and otherwise sets all bits to 0.

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

Was this page helpful? Yes No