Instructions containing Constants

Some AVR instructions contain constants encoded as part of the opcode.

Such constants are refered to as immediate values.

LDI Rd,k1110 kkkk dddd kkkkRd = k
SUBI Rd,k0101 kkkk dddd kkkkRd = Rd - k
Note, 16 is added to the 4-bit register pattern. Hence, registers 16..31 can be set by this instruction.

Index