beautypg.com

Constant addressing using the lpm instruction, Indirect program addressing, ijmp and icall – Rainbow Electronics AT90C8534 User Manual

Page 13

background image

AT90C8534

13

Constant Addressing Using the LPM Instruction

Figure 17. Code Memory Constant Addressing

Constant byte address is specified by the Z-register contents. The 15 MSBs select word address (0 - 4K), the LSB selects
low byte if cleared (LSB = 0) or high byte if set (LSB = 1).

Indirect Program Addressing, IJMP and ICALL

Figure 18. Indirect Program Memory Addressing

Program execution continues at address contained by the Z-register (i.e., the PC is loaded with the contents of the
Z-register).

$000

$7FF/$FFF

PROGRAM MEMORY

15

0

Z-REGISTER