6.3.1 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 on all devices. Refer to Appendix A.

Operation:

(i)

R[d+1]:Rd ← R[d+1]:Rd + K

Syntax:

Operands:

Program Counter:

(i)

ADIW Rd,K

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

PC ← PC + 1

16-bit Opcode:

10010110KKddKKKK