sbc.w

Subtract with Carry (Wide)

SBC.W <Rd>, <Rn>, <Operand2>

Thumb-2 32-bit subtract with carry.

Details

The Subtract with Carry instruction thumb-2 32-bit subtract with carry.

Pseudocode Operation

Rd ← Rn - Operand2
// Flags affected: N, Z, C, V

Example

SBC.W r0, r1, r2

Encoding

Binary Layout
11101011011
S
Rn
0
imm3
Rd
imm8
 
Format Thumb2 Data Proc
Opcode 0xEB600000
Extension T32 (Thumb2)

Operands

  • Rd
    Destination general-purpose register
  • Rn
    First source / base general-purpose register
  • Operand2
    Flexible second operand (register or shifted register)