9
μ
PD17068
4.3
4.4
DATA MEMORY ADDRESSING ....................................................................................................
NOTES ON USING DATA MEMORY ............................................................................................
4.4.1
Power-On Reset..............................................................................................................
4.4.2
Notes on Unmounted Data Memory...........................................................................
42
42
42
42
5.
SYSTEM REGISTER (SYSREG).................................................................................................
5.1
OUTLINE OF SYSTEM REGISTER ................................................................................................
5.2
FORMAT OF SYSTEM REGISTER.................................................................................................
5.3
ADDRESS REGISTER (AR).............................................................................................................
5.3.1
Format of Address Register..........................................................................................
5.3.2
Address Register Functions..........................................................................................
5.3.3
Address Register and Data Buffer ...............................................................................
5.3.4
Notes on Using Address Register ...............................................................................
5.4
WINDOW REGISTER (WR) ............................................................................................................
5.4.1
Format of Window Register .........................................................................................
5.4.2
Window Register Functions .........................................................................................
5.5
BANK REGISTER (BANK) ..............................................................................................................
5.5.1
Format of Bank Register ...............................................................................................
5.5.2
Bank Register Functions ...............................................................................................
5.6
INDEX REGISTER (IX) AND DATA MEMORY ROW ADDRESS POINTER
(MP: MEMORY POINTER)..............................................................................................................
5.6.1
Index Register (IX) .........................................................................................................
5.6.2
Data Memory Row Address Pointer (MP) ..................................................................
5.7
GENERAL-PURPOSE REGISTER POINTER (RP)..........................................................................
5.7.1
Format of General-Purpose Register Pointer.............................................................
5.7.2
General-Purpose Register Pointer Functions.............................................................
5.7.3
Notes on Using General-Purpose Register Pointer...................................................
5.8
PROGRAM STATUS WORD (PSWORD) ......................................................................................
5.8.1
Format of Program Status Word .................................................................................
5.8.2
Program Status Word Functions .................................................................................
5.8.3
Notes on Using Program Status Word .......................................................................
5.9
NOTES ON USING SYSTEM REGISTER......................................................................................
43
43
44
45
45
46
46
46
47
47
47
48
48
48
49
49
50
52
52
53
53
54
54
55
56
56
6.
GENERAL-PURPOSE REGISTER (GR)......................................................................................
6.1
OUTLINE OF GENERAL-PURPOSE REGISTER............................................................................
6.2
GENERAL-PURPOSE REGISTER BODY .......................................................................................
6.3
GENERAL-PURPOSE REGISTER ADDRESS GENERATION WITH INSTRUCTIONS ...............
6.3.1
Addition Instructions (ADD r,m, ADDC r,m)
Subtraction Instructions (SUB r,m, SUBC r,m)
Logical Operation Instructions (AND r,m, OR r,m, XOR r,m)
Direct Transfer Instructions (LD r,m, ST m,r), and
Rotate Instruction (RORC r)..........................................................................................
6.3.2
Indirect Transfer Instructions (MOV @r,m, MOV m,@r)..........................................
6.4
NOTES ON USING GENERAL-PURPOSE REGISTER .................................................................
6.4.1
Row Address of General-Purpose Register................................................................
6.4.2
Operation between General-Purpose Register and Immediate Data.....................
57
57
57
58
58
58
59
59
59