NEC PD75P402 Manuale Utente
![NEC](https://files.manualsbrain.com/attachments/44abc27a7ab3d3ebaea5604c1237604964b3b528/common/fit/150/50/0a4ba346278cf7fed7416c8056bd03af105e868674aa2dfa47e23e007d42/brand_logo.png)
175
CHAPTER 9. INSTRUCTION SET
9.4.12 Input/Output Instructions
IN A, PORTn
Function: A
←
PORTn; n = N
3
to N
0
: 0 to 3, 5, 6
Transfers the contents of the port specified by PORTn (n = 0 to 3, 5, 6) to the A register.
Note
Only 0 to 3, 5 or 6 can be specified at n.
Output latch data (output mode) or pin data (input mode) is fetched according to input/output mode
specification.
OUT PORTn, A
Function: PORTn
←
A; n = N
3
to N
0
: 2, 3, 5, 6
Transfers the contents of the A register to the output latch of the port specified by PORTn (n = 2, 3, 5, 6)
Note
Only 2, 3, 5, or 6 can be specified at n.