You copied the Doc URL to your clipboard.

CNEG

Conditional Negate.

This instruction is an alias of CSNEG.

The equivalent instruction is CSNEG Wd, Wn, Wn, invert(cond).

Syntax

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

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

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.

Usage

Conditional Negate returns, in the destination register, the negated value of the source register if the condition is TRUE, and otherwise returns the value of the source register.