beautypg.com

Program and data addressing modes, Register direct, single register rd, Register direct, two registers rd and rr – Rainbow Electronics ATtiny26L User Manual

Page 10: Attiny26(l)

background image

10

ATtiny26(L)

1477B–AVR–04/02

Program and Data
Addressing Modes

The ATtiny26/L AVR Enhanced RISC microcontroller supports powerful and efficient
addressing modes for access to the Flash program memory, SRAM, Register File, and
I/O Data memory. This section describes the different addressing modes supported by
the AVR architecture. In the figures, OP means the operation code part of the instruction
word. To simplify, not all figures show the exact location of the addressing bits.

Register Direct, Single
Register Rd

Figure 6. Direct Single Register Addressing

The operand is contained in register d (Rd).

Register Direct, Two Registers
Rd and Rr

Figure 7. Direct Register Addressing, Two Registers

Operands are contained in register r (Rr) and d (Rd). The result is stored in register d
(Rd).