beautypg.com

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

Page 12

background image

12

AT90S/LS2323/2343

1004D–09/01

Program and Data
Addressing Modes

The AT90S2323/2343 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 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 10. Direct Single Register Addressing

The operand is contained in register d (Rd).

Register Direct, Two Registers
Rd and Rr

Figure 11. Direct Register Addressing, Two Registers

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