You copied the Doc URL to your clipboard.

CNEG

Conditional negate.

This instruction is an alias of CSNEG.

Syntax

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

Equivalent to CSNEG Wd, Wn, Wn, invert(cond)

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

Equivalent to CSNEG Xd, Xn, Xn, invert(cond)

Where:

Wd

Is the 32-bit name of the general-purpose destination register, in the range 0 to 31.

Wn

Is the 32-bit name of the general-purpose source register in the range 0 to 31.

Xd

Is the 64-bit name of the general-purpose destination register, in the range 0 to 31.

Xn

Is the 64-bit name of the general-purpose source register in the range 0 to 31.

cond

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

Was this page helpful? Yes No