beautypg.com

I/o direct, Data direct, Data indirect with displacement – Rainbow Electronics ATmega163L User Manual

Page 12: Atmega163(l)

background image

ATmega163(L)

12

I/O Direct

Figure 12. I/O Direct Addressing

Operand address is contained in 6 bits of the instruction word. n is the destination or source register address.

Data Direct

Figure 13. Direct Data Addressing

A 16-bit Data Address is contained in the 16 LSBs of a two-word instruction. Rd/Rr specify the destination or source
register.

Data Indirect With Displacement

Figure 14. Data Indirect with Displacement

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

OP

Rr/Rd

16

31

15

0

16 LSBs

$0000

$045F

20 19

Data Space

Data Space

$0000

$045F

Y OR Z - REGISTER

OP

a

n

0

0

5

6

10

15

15