![NEC mPD17120 Subseries Скачать руководство пользователя страница 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
Содержание mPD17120 Subseries
Страница 15: ... x MEMO ...
Страница 23: ... MEMO 8 ...
Страница 45: ... MEMO 30 ...
Страница 49: ... MEMO 34 ...
Страница 55: ... MEMO 40 ...
Страница 93: ... MEMO 78 ...
Страница 99: ... MEMO 84 ...
Страница 102: ...CHAPTER 11 ARITHMETIC AND LOGIC UNIT 87 MEMO ...
Страница 119: ... MEMO 104 ...
Страница 175: ... MEMO 160 ...
Страница 199: ... MEMO 184 ...
Страница 265: ... MEMO 250 ...
Страница 281: ...266 MEMO ...
Страница 285: ... MEMO 270 ...
Страница 289: ... MEMO 274 ...