beautypg.com

Program memory (rom) – NEC PD75402A User Manual

Page 43

background image

32

CHAPTER 4. INTERNAL CPU FUNCTIONS

4.2

PROGRAM MEMORY (ROM) ..... 1,920 WORDS

×

8 BITS

A mask programmable ROM of a 1,920-word

×

8-bit configuration. It stores the program, table data, etc.

The program memory is addressed by the program counter. It is also possible to read the table data in the ROM

by the table refer instruction (MOVT).

It is possible to branch to any area of the program memory by the branch instruction, subroutine call instruction

(see Fig. 4-2). With the relative branch instruction (BR $addr), it is possible to branch to the range of (-15 to -1, +2

to +16) from the address indicated by the PC after the instruction execution.

The program memory’s addresses cover 000H to 77FH and the addresses shown below are assigned specially.

All the areas excluding 000H and 001H are available as the normal program memory.

Fig. 4-2 Program Memory Map

Address

7

6

5

4

3

0

0 0 0 H

0

0

0

0

0

0 0 1 H

0 0 2 H

0

0

0

0

0

0 0 3 H

0 0 4 H

0

0

0

0

0

0 0 5 H

0 0 8 H

0

0

0

0

0

0 0 9 H

7 7 F H

~

~

~

~

Reset Start Address

(high-order 3 bits)

INTBT Start Address

(high-order 3 bits)

INT0 Start Address

(high-order 3 bits)

INTCSI Start Address

(high-order 3 bits)

Reset Start Address (low-order 8 bits)

INTBT Start Address (low-order 8 bits)

INT0 Start Address (low-order 8 bits)

INTCSI Start Address (low-order 8 bits)

CALLF !faddr

Instruction Entry

Address

BRCB !caddr

Instruction Branch

Address

BR $addr

Instruction Relative

Branch Address

–15 to –1

+2 to +16

This manual is related to the following products: