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

Page 10: I/o direct

Advertising
background image

10

AT90S2313

0839I–AVR–06/02

Program and Data
Addressing Modes

The AT90S2313 AVR RISC microcontroller supports powerful and efficient addressing
modes for access to the Program memory (Flash) and Data memory. This section
describes the different addressing modes supported by the AVR architecture. In the fig-
ures, 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 9. Direct Single Register Addressing

The operand is contained in register d (Rd).

Register Direct, Two Registers
Rd and Rr

Figure 10. Direct Register Addressing, Two Registers

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

I/O Direct

Figure 11. I/O Direct Addressing

Advertising