16.62 CSETM

Conditional Set Mask.

This instruction is an alias of CSINV.

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

Syntax

CSETM Wd, cond ; 32-bit

CSETM 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 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.

Non-ConfidentialPDF file icon PDF versionARM 100069_0608_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.