beautypg.com

Data indirect, Data indirect with pre- decrement, Data indirect with post- increment – Rainbow Electronics ATtiny26L User Manual

Page 12: Attiny26(l)

background image

12

ATtiny26(L)

1477B–AVR–04/02

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

Data Indirect

Figure 11. Data Indirect Addressing

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

Data Indirect with Pre-
decrement

Figure 12. 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 Indirect with Post-
increment

Figure 13. Data Indirect Addressing with Post-increment

Data Space

$0000

$00DF

X-, Y-, OR Z-REGISTER

0

15

Data Space

$0000

$00DF

X-, Y-, OR Z-REGISTER

0

15

-1

Data Space

$0000

$00DF

X-, Y-, OR Z-REGISTER

0

15

1