NEC PD750008 User Manual

Page 98

Advertising
background image

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

MOV1 CY, PORTn.bit

MOV1 CY, PORTn.@L

Note 2

MOV1 PORTn.bit,CY

MOV1 PORTn.@L,CY

Note 2

AND1 CY, PORTn.bit

AND1 CY, PORTn.@L

Note 2

OR1

CY, PORTn.bit

OR1

CY, PORTn.@L

Note 2

XOR1 CY, PORTn.bit

XOR1 CY, PORTn.@L

Note 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.

*

*
*
*

Advertising
This manual is related to the following products: