![NEC mPD17120 Subseries User Manual Download Page 72](http://html.mh-extra.com/html/nec/mpd17120-subseries/mpd17120-subseries_user-manual_249259072.webp)
CHAPTER 7 SYSTEM REGISTER (SYSREG)
57
Figure 7-12. Example of Operation When MPE=0 and IXE=1
0
1
2
3
4
5
6
7
0
System register
Row address
Example 2.
MOV @R005, M034
Index modification
Column address
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
General
register
M034 : 00000110100B
IX : 00000000001B
OR)
Real address 00000110101B
M034
8
Indirect address
Column address specified
as transfer destination
Direct
address
R005
Example 3. Clearing all data memory (setting to 0)
M000
MEM
0.00H
MOV
IXL, #0
;
IX
←
0
MOV
IXM, #0
;
MOV
IXH, #0
;
MPE
←
0
LOOP:
OR
PSW, #.DF.IXE AND 0FH
;
IXE
←
1
MOV
M000, #0
;
Set data memory specified by IX to 0
INC
IX
;
IX
←
IX+1
AND
PSW, #1110B
;
IXE
←
0: IXE is set to 0 so that
;
address 7FH is not modified by IX.
SKE
IXM, #0111B
;
Row address 7?
BR
LOOP
;
If not 7 then LOOP (row address is
;
not cleared)
Summary of Contents for mPD17120 Subseries
Page 15: ... x MEMO ...
Page 23: ... MEMO 8 ...
Page 45: ... MEMO 30 ...
Page 49: ... MEMO 34 ...
Page 55: ... MEMO 40 ...
Page 93: ... MEMO 78 ...
Page 99: ... MEMO 84 ...
Page 102: ...CHAPTER 11 ARITHMETIC AND LOGIC UNIT 87 MEMO ...
Page 119: ... MEMO 104 ...
Page 175: ... MEMO 160 ...
Page 199: ... MEMO 184 ...
Page 265: ... MEMO 250 ...
Page 281: ...266 MEMO ...
Page 285: ... MEMO 270 ...
Page 289: ... MEMO 274 ...