You copied the Doc URL to your clipboard.
SBC
Subtract with Carry.
This instruction is used by the alias NGC
.
Syntax
SBC
Wd
, Wn
, Wm
; 32-bit
SBC
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 subtracts a register value and the value of NOT (Carry flag) from a register value, and writes the result to the destination register.
, where R
d = R
n - Rm - 1 + C
is either R
W
or X
.