Description

Adds an immediate value (0 - 63) to a register pair and places the result in the register pair. This instruction operates on the upper four register pairs, and is well suited for operations on the pointer registers.

This instruction is not available in all devices. Refer to the device specific instruction set summary.

Operation:

   

(i)

Rd+1:Rd ← Rd+1:Rd + K

Syntax:

Operands:

Program Counter:

(i)

ADIW Rd+1:Rd,K

d ∈ {24,26,28,30}, 0 ≤ K ≤ 63

PC ← PC + 1

16-bit Opcode:

1001 0110 KKdd KKKK