English
Language : 

M16C80 Datasheet, PDF (23/358 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/80 SERIES
M16C/80 Group
2. Memory
2. Memory
Figure 2.1 is a memory map of the M16C/80 group. The address space extends the 16 Mbytes from ad-
dress 00000016 to FFFFFF16. From FFFFFF16 down is ROM. For example, in the M30800MC-XXXFP,
there is 128K bytes of internal ROM from FE000016 to FFFFFF16. The vector table for fixed interrupts such
_______
as the reset and NMI are mapped to FFFFDC16 to FFFFFF16. The starting address of the interrupt routine
is stored here. The address of the vector table for timer interrupts, etc., can be set as desired using the
internal register (INTB). See the section on interrupts for details.
From 00040016 up is RAM. For example, in the M30800MC-XXXFP, 10 Kbytes of internal RAM is mapped
to the space from 00040016 to 002BFF16. In addition to storing data, the RAM also stores the stack used
when calling subroutines and when interrupts are generated.
The SFR area is mapped to 00000016 to 0003FF16. This area accommodates the control registers for
peripheral devices such as I/O ports, A/D converter, serial I/O, and timers, etc. Figures 5.1 to 5.4 are
location of peripheral unit control registers. Any part of the SFR area that is not occupied is reserved and
cannot be used for other purposes.
The special page vector table is mapped to FFFE0016 to FFFFDB16. If the starting addresses of subrou-
tines or the destination addresses of jumps are stored here, subroutine call instructions and jump instruc-
tions can be used as 2-byte instructions, reducing the number of program steps.
In memory expansion mode and microprocessor mode, a part of the spaces are reserved and cannot be
used. For example, in the M30800MC-XXXFP, the following spaces cannot be used.
• The space between 002C0016 and 00800016 (Memory expansion and microprocessor modes)
• The space between F0000016 and FDFFFF16 (Memory expansion mode)
<100-pin version>
Type No.
Address Address
XXXXXX16 YYYYYY16
M30800MC/FC 002BFF16 FE000016
M30803MG/FG 0053FF16 FC000016
M30800S
M30803S
<144-pin version>
Type No.
Address
XXXXXX16
M30802MC/FC 002BFF16
M30805MG/FG 0053FF16
M30802S
002BFF16
M30805S
0063FF16
Address
YYYYYY16
FE000016
FC000016
Figure 2.1 Memory map
00000016
00040016
XXXXXX16
00800016
SFR area
For details, see
Figures 5.1 to
5.4
Internal RAM
area
Internal reserved
area (Note 1)
External area
F0000016
YYYYYY16
FFFFFF16
Internal reserved
area (Note 2)
Internal ROM
area
FFFE0016
Special page
vector table
FFFFDC16
Undefined instruction
Overflow
BRK instruction
Address match
Watchdog timer
FFFFFF16
NMI
Reset
Note 1: During memory expansion and microprocessor modes, can not be used.
Note 2: In memory expansion mode, can not be used.
Rev.1.00 Aug. 02, 2005 Page 12 of 329
REJ09B0187-0100