碌
PD6124A, 6600A
3.
PROGRAM MEMORY (ROM) 鈥︹€︹€?512 STEPS
脳
10 BITS :
碌
PD6600A
1002 STEPS
脳
10 BITS :
碌
PD6124A
The program memory (ROM) is configured in 10 bits steps. It is addressed by the program counter.
Program and table data are stored in the program memory.
Figure 3-1. Program Memory Map
(a)
000H
0FFH
100H
1FFH
0
碌
PD6600A
000H
0FFH
100H
1FFH
200H
2FFH
300H
3E9H
3EAH
3FFH
(b)
碌
PD6124A
0
1
1
Test program
area
4.
DATA MEMORY (RAM) 鈥︹€︹€?32 WORDS
脳
5 BITS
The data memory is a RAM of 32 words
脳
5 bits. The data memory stores processing data. In some cases, the
0
data memory is processed in 8-bit units. R
0
may be used as the data pointer for the ROM.
After power application, the RAM will be undefined. The RAM retains the previous data on reset.
0
1
Figure 4-1. Data Memory Organization
1
0
R
0
1
.
.
.
R
B
R
C
.
.
.
R
F
SP鈥?
SP鈥?
SP鈥?
SP鈥?
Caution
Avoid using the RAM areas R
D
, R
E
, and R
F
in a CALL routine as much as possible because these areas
are also used as stack memory areas (to prevent program hang-up in case the value of the SP is
destroyed due to some reason such as noise).
When using these RAM areas as general-purpose RAM areas, be sure to include stack pointer
checking in the main routine.
5