beautypg.com

1 memory size switching register – NEC PD78058FY(A) User Manual

Page 538

background image

538

CHAPTER 26

µ

PD78P058F, 78P058FY

26.1 Memory Size Switching Register

In the

µ

PD78P058F and 78P058FY, internal memory can be selected through the memory size select register

(IMS). The same memory mapping as that of mask ROM versions that have a different internal memory can be done

by setting IMS.

IMS is set with an 8-bit memory manipulation instruction.

RESET input sets IMS to CFH.

Figure 26-1. Memory Size Switching Register Format

Note

When using the external device expansion function with

µ

PD78058F, 78P058F, 78058FY and 78P058FY,

the capacity of the internal ROM should be less than 56 Kbytes.

The IMS settings to give the same memory map as mask ROM versions are shown in Table 26-2.

Table 26-2. Examples of Memory Size Switching Register Settings

Relevant Mask ROM Version

IMS Setting

µ

PD78056F, 78056FY

CCH

µ

PD78058F, 78058FY

CFH

7

RAM2

Symbol

IMS

6

RAM1

5

RAM0

4

0

3

ROM3

2

ROM2

1

ROM1

0

ROM0

Address

FFF0H

CFH

After

Reset

R/W

R/W

Internal ROM Capacity Selection

ROM3 ROM2 ROM1 ROM0

Setting prohibited

Other than above

Internal High-Speed RAM Capacity Selection

RAM2 RAM1 RAM0

1024 bytes

1

1

0

Setting prohibited

Other than above

1

56 Kbytes

1

1

0

1

48 Kbytes

1

0

0

1

60 Kbytes

1

1

1

Note

This manual is related to the following products: