UPD75518 NEC, UPD75518 Datasheet - Page 39

no-image

UPD75518

Manufacturer Part Number
UPD75518
Description
4 BIT SINGLE-CHIP MICROCOMPUTER
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD75518GF-152
Manufacturer:
NEC
Quantity:
40
Part Number:
UPD75518GF-169
Manufacturer:
ST
Quantity:
103
Part Number:
UPD75518GF-245-3B9
Manufacturer:
NEC
Quantity:
275
Part Number:
UPD75518GF-245-3B9
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD75518GF-347
Manufacturer:
CORERIVER
Quantity:
930
Part Number:
UPD75518QF
Manufacturer:
ROHM
Quantity:
11 970
4. PERIPHERAL HARDWARE FUNCTIONS
4.1 DIGITAL I/O PORTS
including 8-bit I/O and bit manipulation as well as 4-bit I/O.
The PD75518(A) employs memory-mapped I/O, enabling all I/O ports to be mapped to data memory space.
Table 4-1 lists the I/O port manipulation instructions. These instructions provide a wide range of control
Examples 1. Test the state of P13, then output different values to ports 4 and 5 according to the test result.
2. SET1 PORT4.@L ; Set the bit of ports 4 to 7 specified by the L register to 1
SKT PORT1.3
MOV XA, #18H
MOV XA, #14H
SEL
OUT PORT4, XA ; Ports 5 and 4
MB15
Fig. 4-1 Data Memory Address Assigned to Digital Port
Address
FFDH
FFAH
FFBH
FFCH
FFEH
FF0H
FF1H
FF2H
FF3H
FF4H
FF5H
FF6H
FF7H
FF8H
FF9H
FFFH
; or CLR1 MBE
; Skip if bit 3 of port 1 is 1
; XA
; XA
P103
P113
P123
P133
P143
P153
P03
P13
P23
P33
P43
P53
P63
P73
P83
P93
3
18H
14H
P102
P112
P122
P132
P142
P152
P02
P12
P22
P32
P42
P52
P62
P72
P82
P92
2
Consecutive
XA
P101
P111
P121
P131
P141
P151
P01
P11
P21
P31
P41
P51
P61
P71
P81
P91
1
P100
P110
P120
P130
P140
P150
P00
P10
P20
P30
P40
P50
P60
P70
P80
P90
0
Symbol
PORT 0
PORT 1
PORT 2
PORT 3
PORT 4
PORT 5
PORT 6
PORT 7
PORT 8
PORT 9
PORT 10
PORT 11
PORT 12
PORT 13
PORT 14
PORT 15
PD75518(A)
39

Related parts for UPD75518