Rainbow-electronics ATmega163L Manual de usuario Pagina 14

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 156
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 155 156

Comentarios a estos manuales

Sin comentarios