beautypg.com

Data indirect with displacement, Data indirect, Data indirect with pre- decrement – Rainbow Electronics ATmega161L User Manual

Page 15: Atmega161(l)

background image

15

ATmega161(L)

1228C–AVR–08/02

Data Indirect with
Displacement

Figure 13. Data Indirect with Displacement

Operand address is the result of the Y- or Z-register contents added to the address con-
tained in six bits of the instruction word.

Data Indirect

Figure 14. Data Indirect Addressing

Operand address is the contents of the X-, Y-, or Z-register.

Data Indirect with Pre-
decrement

Figure 15. Data Indirect Addressing with Pre-decrement

The X-, Y-, or Z-register is decremented before the operation. Operand address is the
decremented contents of the X-, Y-, or Z-register.

Data Space

$0000

$FFFF

Y OR Z - REGISTER

OP

a

n

0

0

5

6

10

15

15

Data Space

$0000

$FFFF

X, Y, OR Z - REGISTER

0

15

Data Space

$0000

$FFFF

X, Y, OR Z - REGISTER

0

15

-1