CHAPTER 4 CPU ARCHITECTURE
Page 44 of 920
4.1.1
Internal program memory space
The internal program memory space stores the program and table data.
The internal program memory space is divided into the following areas.
(1) Vector table area
The 128-byte area 00000H to 0007FH is reserved as a vector table area. The program start addresses for
branch upon reset or generation of each interrupt request are stored in the vector table area. Furthermore,
the interrupt jump address is a 64 K address of 00000H to 0FFFFH, because the vector code is assumed to
be 2 bytes.
Of the 16-bit address, the lower 8 bits are stored at even addresses and the higher 8 bits are stored at odd
addresses.
To use the boot swap function, set a vector table also at 01000H to 0107FH.
For details, see
CHAPTER 19 INTERRUPT FUNCTIONS
(2) CALLT instruction table area
The 64-byte area 00080H to 000BFH can store the subroutine entry address of a 2-byte call instruction
(CALLT). Set the subroutine entry address to a value in a range of 00000H to 0FFFFH (because an address
code is 2 bytes).
To use the boot swap function, set a CALLT instruction table also at 01080H to 010BFH.
(3) Option byte area
A 4-byte area of 000C0H to 000C3H can be used as an option byte area. Set the option byte at 010C0H to
010C3H when the boot swap is used. For details, see
(4) On-chip debug security ID setting area
A 10-byte area of 000C4H to 000CDH and 010C4H to 010CDH can be used as an on-chip debug security
ID setting area. Set the on-chip debug security ID of 10 bytes at 000C4H to 000CDH when the boot swap is
not used and at 000C4H to 000CDH and at 010C4H to 010CDH when the boot swap is used. For details,
see
Содержание RL78/G1H
Страница 941: ...R01UH0575EJ0120 RL78 G1H...