
77
CHAPTER 5 PERIPHERAL HARDWARE FUNCTIONS
(3) 8-bit manipulation instructions
The MOV, XCH, and SKE instructions as well as the IN and OUT instructions can be used for ports 4 and
5 that allow 8-bit manipulation. As with 4-bit manipulation, memory bank 15 must be selected in advance.
Example
The data contained in the BC register pair is output on the output port specified by 8-bit data
applied to ports 4 and 5.
SET1
MBE
SEL
MB15
IN
XA,PORT4
; XA <– ports 5,4
MOV
HL,XA
; HL <– XA
MOV
XA,BC
; XA <– BC
MOV
@HL,XA
; Port (L) <– XA
Summary of Contents for PD750004
Page 8: ... MEMO ...
Page 20: ... xii MEMO ...
Page 234: ...214 µPD750008 USER S MANUAL MEMO ...
Page 244: ...224 µPD750008 USER S MANUAL MEMO ...
Page 248: ...228 µPD750008 USER S MANUAL MEMO ...
Page 254: ...234 µPD75008 USER S MANUAL MEMO ...
Page 328: ...308 µPD750008 USER S MANUAL MEMO ...
Page 330: ...310 µPD750008 USER S MANUAL MEMO ...
Page 342: ...322 µPD750008 USER S MANUAL MEMO ...