78
µPD750008 USER'S MANUAL
Table 5-2. I/O Pin Manipulation Instructions
PORT PORT PORT PORT PORT PORT PORT PORT PORT PORT
Instruction 0 1 2 3 4 5 6 7 8
IN A, PORTn Note 1
IN XA, PORTn Note 1 —— —
OUT PORTn, A Note 1
OUT PORTn, XA Note 1 —— —
SET1 PORTn.bit
SET1 PORTn.@L Note 2
CLR1 PORTn.bit
CLR1 PORTn.@L Note 2
SKT PORTn.bit
SKT PORTn.@L Note 2
SKF PORTn.bit
SKF PORTn.@L Note 2
MOV1CY, PORTn.bit
MOV1CY, PORTn.@LNote 2
MOV1PORTn.bit,CY
MOV1PORTn.@L,CY Note 2 ——
AND1 CY, PORTn.bit
AND1 CY, PORTn.@LNote 2
OR1 CY, PORTn.bit
OR1 CY, PORTn.@LNote 2
XOR1 CY, PORTn.bit
XOR1 CY, PORTn.@LNote 2
Notes 1. MBE = 0 or (MBE = 1, MBS = 15) must be set before execution.2. The low-order two bits of an address and bit address are indirectly specified using the L register.
*
*
*
*