You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : CINV

CINV

Conditional Invert.

This instruction is an alias of CSINV.

Syntax

CINV Wd, Wn, cond ; 32-bit general registers

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

CINV Xd, Xn, cond ; 64-bit general registers

Equivalent to CSINV Xd, Xn, Xn, invert(cond).

Where:

Wd

Is the 32-bit name of the general-purpose destination register.

Wn

Is the 32-bit name of the general-purpose source register.

Xd

Is the 64-bit name of the general-purpose destination register.

Xn

Is the 64-bit name of the general-purpose source register.

cond

Is one of the standard conditions, excluding AL and NV.

Operation

Conditional Invert returns, in the destination register, the bitwise inversion of the value of the source register if the condition is TRUE, and otherwise returns the value of the source register.

Rd = if cond then NOT(Rn) else Rn, where R is either W or X.

Was this page helpful? Yes No