Skip navigation

ARM Instruction SBC

Subtract with carry

SBC

Thumb syntax (narrow, v4T)

SBCSRd, RnSee [1]

Thumb syntax (wide, v6T2)

SBCRd, Rn, #constSee [2]
SBCRd, Rn, Rm, shiftSee [3]
SBCSRd, Rn, #constSee [2]
SBCSRd, Rn, Rm, shiftSee [3]

Arm syntax (v4T)

SBCRd, Rn, #constSee [4]
SBCRd, Rn, Rm, shiftSee [5]
SBCSRd, Rn, #constSee [4]
SBCSRd, Rn, Rm, shiftSee [5]

Notes

  1. Rd, Rn must be R0…R7
  2. Rd, RnPC; Rd, RnSP; const is one of $00xx00xx, $xx00xx00, $xxxxxxxx, $xx LSL 024
  3. Rd, Rn, RmPC; Rd, Rn, RmSP; shift is one of LSL #031, LSR #132, ASR #132, RRX
  4. Rd, RnPC; Rd, RnSP; const is $xx ROR 2n
  5. Rd, Rn, RmPC; Rd, Rn, RmSP; shift is one of LSL #031/Rs, LSR #132/Rs, ASR #132/Rs, ROR #131/Rs, RRX