You copied the Doc URL to your clipboard.

NGCS

Negate with Carry, setting flags.

This instruction is an alias of SBCS.

The equivalent instruction is SBCS Wd, WZR, Wm.

Syntax

NGCS Wd, Wm ; 32-bit general registers

NGCS Xd, Xm ; 64-bit general registers

Where:

Wd
Is the 32-bit name of the general-purpose destination register.
Wm
Is the 32-bit name of the general-purpose source register.
Xd
Is the 64-bit name of the general-purpose destination register.
Xm
Is the 64-bit name of the general-purpose source register.

Usage

Negate with Carry, setting flags, negates the sum of a register value and the value of NOT (Carry flag), and writes the result to the destination register. It updates the condition flags based on the result.