![NEC mPD17120 Subseries User Manual Download Page 241](http://html.mh-extra.com/html/nec/mpd17120-subseries/mpd17120-subseries_user-manual_249259241.webp)
CHAPTER 18 INSTRUCTION SET
226
<3> Example 1
Stores the address 0.20H contents to address 0.2FH with the MPE flag cleared to 0. The transfer destination
data memory address is at the same row address as the transfer source, and the column address is specified
by the general register contents at address 0.00H.
(0.2FH)
←
(0.20H)
MEM000
MEM
0.00H
MEM020
MEM
0.20H
CLR1
MPE
; MPE flag
←
0
MOV
MEM000, #0FH
; Sets column address in general register
MOV
@MEM000, MEM020 ; Store
Bank 0
Column address
System register
0
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
General register
Row address
F
Example 2
Stores the address 0.20H contents to address 0.3FH, with the MPE flag set to 1. The row address for the
transfer destination data memory address is specified by the memory pointer MP contents. The column
address is specified by the general register contents at address 0.00H.
(0.3FH)
←
(0.20H)
MEM000
MEM
0.00H
MEM020
MEM
0.20H
MOV
RPH, #00H
; General register bank 0
MOV
RPL, #00H
; General register row address 0
MOV
00H, #0FH
; Sets column address in general register
MOV
MPH, #00H
; Sets row address in memory pointer
MOV
MPL, #03H
;
SET1
MPE
; MPE flag
←
1
MOV
@MEM000, MEM020 ; Store
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 ...