CHAPTER 6 PERIPHERAL HARDWARE FUNCTION
97
Users Manual U10676EJ3V0UM
Table 6-2. I/O Pin Manipulation Instructions
PORT PORT3 PORT6 PORT7 PORT8
Instruction
IN A, PORTnNote 1
IN XA, PORTnNote 1
OUT PORTn, ANote 1
OUT PORTn, XANote 1
MOV A, PORTnNote 1
MOV XA, PORTnNote 1
MOV PORTn, ANote 1
MOV PORTn, XANote 1
XCH A, PORTnNote 1
XCH XA, PORTnNote 1
MOV1 CY, PORTn. bit
MOV1 CY, PORTn. @LNote 2
MOV1 PORTn. bit, CY
MOV1 PORTn. @L, CYNote 2
INCS PORTnNote 1
SET1 PORTn. bit
SET1 PORTn. @LNote 2
CLR1 PORTn. bit
CLR1 PORTn. @LNote 2
SKT PORTn. bit
SKT PORTn. @LNote 2
SKF PORTn. bit
SKTCLR PORTn. bit
SKTCLR PORTn. @LNote 2
SKF PORTn. @LNote 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. Must be MBE = 0 or (MBE = 1, MBS = 15) before execution.2. The lower 2 bits and the bit addresses of the address must be indirectly specified by the L register.