AT90S/LS2333 and AT90S/LS4433
13
Constant Addressing Using the LPM Instruction
Figure 18. Code Memory Constant Addressing
Constant byte address is specified by the Z-register contents. The 15 MSBs select word address (0 - 1K/2K), the LSB
selects low byte if cleared (LSB = 0) or high byte if set (LSB = 1).
Indirect Program Addressing, IJMP and ICALL
Figure 19. 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).
Relative Program Addressing, RJMP and RCALL
Figure 20. Relative Program Memory Addressing
Program execution continues at address PC + k + 1. The relative address k is from -2048 to 2047.
$3FF/$7FF
$000
PROGRAM MEMORY
$3FF/$7FF
$000
PROGRAM MEMORY
$3FF/$7FF
$000
PROGRAM MEMORY