You copied the Doc URL to your clipboard.

16.115 SBC

Subtract with Carry.

This instruction is used by the alias NGC.

Syntax

SBC Wd, Wn, Wm ; 32-bit general registers

SBC Xd, Xn, Xm ; 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 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 subtracts a register value and the value of NOT (Carry flag) from a register value, and writes the result to the destination register.

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

Was this page helpful? Yes No