CHAPTER 13 PERIPHERAL HARDWARE
142
13.3.4 Reading Values from the Shift Register
A value is read from the shift register via the data buffer (DBF) using the GET instruction. The shift register has
peripheral address 01H and only the eight low-order bits (DBF1, DBF0) are valid. Executing the GET instruction does
not affect the eight high-order bits of DBF.
Figure 13-17. Reading a Value from the Shift Register
GET DBF, SIOSFR; Example of using reserved words DBF and SIOSFR
GET DBF, SIOSFR
SIOSFR (Peripheral Address 01H)
Data Buffer
DBF3
Retained
8-bit data
b
7
0
b
5
1
b
4
0
b
3
0
b
2
1
b
1
0
b
0
0
b
6
1
b
0
0
b
1
0
b
2
1
b
3
0
b
0
0
b
1
1
b
2
1
b
3
0
b
0
b
1
b
2
b
3
b
0
b
1
b
2
b
3
DBF2
Retained
DBF1
DBF0
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 ...