DIO PORT B DATA
BADR3 + 5
PORT B may be configured as an 
READ/WRITE
| 7 | 6 | 5 | 4 | 2 | 3 | 1 | 0 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
DIO PORT C DATA
BADR3 + 6
PORT C may be configured as an 
make up the lower nibble, D[7:4] comprise the upper nibble. Although it may be split, every write to Port C is a byte operation. Unwanted information must be ANDed out during reads and writes must be ORd with current value of the other 
READ/WRITE
| 7 | 6 | 5 | 4 | 2 | 3 | 1 | 0 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
DIO CONTROL REGISTER
BADR3 + 7
The DIO Control register is used configure Ports A,B and C as inputs or outputs. Operation is identical to that of the 8255 in Mode 0.
WRITE
| 7 | 6 | 5 | 4 | 2 | 3 | 1 | 0 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | 
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
The following table summarizes the possible I/O Port configurations for the 
DIO operatin in MODE 0:
30