
deveopmen
Description
Rev.B2 for proof reading
Mitsubishi Microcomputers
M32C/83 group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
19
Memory
Figure 1.2.1 is a memory map of the M32C/83 group. The address space extends 16 Mbytes from address
000000
16
to FFFFFF
16
. From FFFFFF
16
down is ROM. For example, in the M30835FJGP, there are 512K
bytes of internal ROM from F80000
16
to FFFFFF
16
. The vector table for fixed interrupts such as the reset
and NMI are mapped to FFFFDC
16
to FFFFFF
16
. 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 000400
16
up is RAM. For example, in the M30835FJGP, 31 Kbytes of internal RAM are mapped to
the space from 000400
16
to 007FFF
16
. 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 from 000000
16
to 0003FF
16
. This area accommodates the control registers for
peripheral 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 any other purpose.
The special page vector table is mapped from FFFE00
16
to FFFFDB
16
. 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.
Figure 1.2.1. Memory map
000000
16
YYYYYY
16
FFFFFF
16
000400
16
008000
16
XXXXXX
16
F00000
16
AAAAA
Internal reserved
area (Note 2)
AAAAA
AAAAA
AAAAA
Internal ROM
area
Internal RAM
area
area (Note 1)
FFFE00
16
FFFFDC
16
FFFFFF
16
Note 1: During memory expansion and microprocessor modes, can not be used.
Note 2: In memory expansion mode, can not be used.
Undefined instruction
Overflow
BRK instruction
Address match
Watchdog timer
Reset
Special page
vector table
NMI
SFR area
Address
XXXXX
16
F80000
16
007FFF
16
M30835F/MJ
Type No.
Address
YYYYY
16
M30833F/MJ