Instructions containing Constants
Some AVR instructions contain constants encoded as part of the opcode.
Such constants are refered to as immediate values.
LDI Rd,k
1110 kkkk dddd kkkk
Rd = k
SUBI Rd,k
0101 kkkk dddd kkkk
Rd = Rd - k
Note, 16 is added to the 4-bit register pattern. Hence, registers 16..31 can be set by this instruction.
Index