Internal Memory Size Switching Register - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

23.1 Internal Memory Size Switching Register

µ
The
PD78F0114 allows users to select the internal memory capacity using the internal memory size switching
register (IMS) so that the same memory map as that of the mask ROM versions with a different internal memory
capacity can be achieved.
IMS is set by an 8-bit memory manipulation instruction.
RESET input sets IMS to CFH.
Caution Be sure to set the value of the relevant mask ROM version at initialization.
Figure 23-1. Format of Internal Memory Size Switching Register (IMS)
Address: FFF0H
After reset: CFH
Symbol
7
IMS
RAM2
RAM2
0
1
ROM3
0
0
0
1
The IMS settings required to obtain the same memory map as mask ROM versions are shown in Table 23-2.
Table 23-2. Internal Memory Size Switching Register Settings
Caution When using a mask ROM version, be sure to set the value indicated in Table 23-2 to IMS.
CHAPTER 23
R/W
6
5
RAM1
RAM0
RAM1
RAM0
1
0
512 bytes
1
0
1024 bytes
Other than above
Setting prohibited
ROM2
ROM1
0
1
1
0
1
1
0
0
Other than above
Target Mask ROM Versions
µ
PD780111
µ
PD780112
µ
PD780113
µ
PD780114
User's Manual U16227EJ2V0UD
µ
PD78F0114
4
3
2
0
ROM3
ROM2
Internal high-speed RAM capacity selection
ROM0
Internal ROM capacity selection
0
8 KB
0
16 KB
0
24 KB
0
32 KB
Setting prohibited
IMS Setting
42H
44H
C6H
C8H
1
0
ROM1
ROM0
377

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents