adc

Add with Carry

ADC <Wd>, <Wn>, <Wm>

Adds two register values and the Carry flag.

Details

The Add with Carry instruction adds two register values and the Carry flag.

Pseudocode Operation

Wd ← Wn + Wm
// Flags affected: N, Z, C, V

Example

ADC w0, w1, w2

Encoding

Binary Layout
00011010
000
Wm
000000
Wn
Wd
 
Format Data Processing (3-source)
Opcode 0x1A000000
Extension Base

Operands

  • Wd
    Dest (32-bit)
  • Wn
    First source / base 32-bit integer register
  • Wm
    Second source / offset 32-bit integer register