16.110 NGC

Negate with Carry.

This instruction is an alias of SBC.

The equivalent instruction is SBC Wd, WZR, Wm.

Syntax

NGC Wd, Wm ; 32-bit

NGC Xd, Xm ; 64-bit

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.

Operation

Negate with Carry negates the sum of a register value and the value of NOT (Carry flag), and writes the result to the destination register.

Rd = 0 - Rm - 1 + C, where R is either W or X.

Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.