The program and data addressing modes, Register direct, single- register rd, Register indirect – Rainbow Electronics ATtiny15L User Manual

Page 7: Register direct, two registers rd and rr, Attiny15l

Advertising
background image

7

ATtiny15L

1187E–AVR–06/02

The Program and Data
Addressing Modes

The ATtiny15L AVR RISC Microcontroller supports powerful and efficient addressing
modes. This section describes the various addressing modes supported in the
ATtiny15L. 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 4. Direct Single-register Addressing

The operand is contained in register d (Rd).

Register Indirect

Figure 5. Indirect Register Addressing

The register accessed is the one pointed to by the Z-register low byte (R30).

Register Direct, Two Registers
Rd and Rr

Figure 6. Direct Register Addressing, Two Registers

REGISTER FILE

0

31

30

Z-register

Advertising