16.133 SBCS

Subtract with Carry, setting flags.

This instruction is used by the alias NGCS.

Syntax

SBCS Wd, Wn, Wm ; 32-bit

SBCS Xd, Xn, Xm ; 64-bit

Where:

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

Operation

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

Rd = Rn - 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.