Rainbow-electronics ATmega163L Manuale Utente Pagina 14

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 156
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 13
ATmega163(L)
14
Constant Addressing Using The LPM and SPM Instructions
Figure 18. Code Memory Constant Addressing
Constant byte address is specified by the Z-register contents. The 15 MSBs select word address (0 - 8K). For LPM, the
LSB selects low byte if cleared (LSB = 0) or high byte if set (LSB = 1). For SPM, the LSB should be cleared.
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.
$1FFF
$1FFF
$1FFF
1
Vedere la pagina 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 155 156

Commenti su questo manuale

Nessun commento