English
Language : 

M16C1N Datasheet, PDF (21/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
3. Memory
3. Memory
Figure 3.1 is a memory map. The address space extends the 1M bytes from address 0000016 to FFFFF16.
From FFFFF16 down is ROM. For example, in the M301N2M4T-XXXFP, there is 32K bytes of internal ROM
from F800016 to FFFFF16. The vector table for fixed interrupts such as the reset are mapped to FFFDC16 to
FFFFF16. 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 0040016 up is RAM. For example, in the M301N2M4T-XXXFP, there is 1K byte of internal RAM from
0040016 to 007FF16. In addition to storing data, the RAM also stores the stack used when calling subrou-
tines and when interrupts are generated.
The SFR area is mapped to 0000016 to 003FF16. This area accommodates the control registers for periph-
eral devices such as I/O ports, A/D converter, serial I/O, and timers, etc. 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 FFE0016 to FFFDB16. If the starting addresses of subroutines
or the destination addresses of jumps are stored here, subroutine call instructions and jump instructions
can be used as 2-byte instructions, reducing the number of program steps.
0000016
0040016
SFR area
(For details, refer to
4. SFR)
XXXXX16
Internal RAM area
F F E 0 016
Special page
vector table
YYYYY16
FFFFF16
Internal ROM area
FFFDC16
FFFFF16
Undefined instruction
Overflow
BRK instruction
Address match
Single step
Watchdog timer
DBC
UART0 reception
Reset
Type No.
M301N2M4T
M301N2M8T
M301N2F8TFP
M301N2F8FP
Internal RAM
Size
Address XXXXX16
1 Kbytes
007FF16
3 Kbytes
00FFF16
Internal ROM
Size
Address YYYYY16
32 Kbytes
F800016
64 Kbytes
F000016
Figure 3.1 Memory map
Rev.1.00 Oct 20, 2004 page 9 of 222
REJ09B0007-0100Z