7
μ
PD17717, 17718, 17719
Contents
1.
PIN FUNCTIONS..............................................................................................................................
1.1
Pin Function List..................................................................................................................
1.2
Equivalent Circuits of Pins .................................................................................................
1.3
Connections of Unused Pins..............................................................................................
1.4
Cautions on Using CE, INT0 through INT4, and RESET Pins..........................................
1.5
Cautions on Using TEST Pin ..............................................................................................
11
11
16
21
23
23
2.
PROGRAM MEMORY (ROM)..........................................................................................................
2.1
Outline of Program Memory ...............................................................................................
2.2
Program Memory .................................................................................................................
2.3
Program Counter .................................................................................................................
2.4
Flow of Program ..................................................................................................................
2.5
Cautions on Using Program Memory ................................................................................
24
24
25
26
26
29
3.
ADDRESS STACK (ASK)................................................................................................................
3.1
Outline of Address Stack ....................................................................................................
3.2
Address Stack Register (ASR) ...........................................................................................
3.3
Stack Pointer (SP)................................................................................................................
3.4
Operation of Address Stack ...............................................................................................
3.5
Cautions on Using Address Stack .....................................................................................
30
30
30
32
33
34
4.
DATA MEMORY (RAM) ...................................................................................................................
4.1
Outline of Data Memory ......................................................................................................
4.2
Configuration and Function of Data Memory....................................................................
4.3
Data Memory Addressing ...................................................................................................
4.4
Cautions on Using Data Memory .......................................................................................
35
35
37
40
41
5.
SYSTEM REGISTERS (SYSREG)...................................................................................................
5.1
Outline of System Registers...............................................................................................
5.2
System Register List ...........................................................................................................
5.3
Address Register (AR) ........................................................................................................
5.4
Window Register (WR) ........................................................................................................
5.5
Bank Register (BANK) .........................................................................................................
5.6
Index Register (IX) and Data Memory Row Address Pointer
(MP: memory pointer).........................................................................................................
5.7
General Register Pointer (RP) ............................................................................................
5.8
Program Status Word (PSWORD) ......................................................................................
42
42
43
44
46
47
48
50
52
6.
GENERAL REGISTER (GR)............................................................................................................
6.1
Outline of General Register ................................................................................................
6.2
General Register ..................................................................................................................
6.3
Generating Address of General Register by Each Instruction........................................
6.4
Cautions on Using General Register .................................................................................
54
54
54
55
55