![NEC mPD17120 Subseries Скачать руководство пользователя страница 251](http://html.mh-extra.com/html/nec/mpd17120-subseries/mpd17120-subseries_user-manual_249259251.webp)
CHAPTER 18 INSTRUCTION SET
236
<4> Note
Among register files, data memories can be seen at 40H-7FH (74H-7FH is system register). Therefore, the
PEEK and POKE instructions can access addresses 40H through 7FH in each data memory bank, in addition
to the register file. For example, these instructions can be used as follows:
MEM05F
MEM
0.5FH
PEEK
WR, PSW
; Stores PSW (7FH) contents in system register to WR
POKE
MEM05F, WR
; Stores WR contents to address 5FH in data memory
(11) GET DBF, p
Get peripheral data to data buffer
<1> OP code
10
8 7
4 3
0
00111
P
H
1011
P
L
<2> Function
DBF
←
(p)
Stores the peripheral register contents to data buffer DBF.
<3> Example 1
Stores the 8-bit contents for shift register SIOSFR in the serial
interface to data buffers DBF0 and DBF1:
GET
DBF, SIOSFR
WR
Bank 0
Column address
PSW
0
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Row address
Register file
Data memory
POKE
5FH, WR
PEEK
WR, PSW
System register
Содержание 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 ...