2.4Base Address
The
When selecting a base address for the
| x | x | x | x | x | x |
O | 1 | 2 | 3 | 4 | 5 | 6 |
N |
|
|
|
|
|
|
A A A A A A 15 14 13 12 11 10
SW1
SW2
| x | x | x | x | x | x |
O | 1 | 2 | 3 | 4 | 5 | 6 |
N |
|
|
|
|
|
|
|
|
|
|
|
|
|
A A A A A A 9 8 7 6 5 4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0000 |
| xxxx |
| Hex | ||||||||
|
|
|
|
|
|
|
| |||||
|
|
|
|
| 0000 : 0 | |||||||
| Bit=0 Bit=1 | 0001 : 1 | ||||||||||
| 0010 : 2 | |||||||||||
|
|
|
|
| ||||||||
|
|
|
|
| 0011 : 3 | |||||||
|
|
|
|
| 0100 : 4 |
|
|
| 0 |
|
|
|
|
| 3 |
|
|
|
|
|
|
|
| 0 |
|
|
|
0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
O 1 2 3 4 5 6 | O 1 2 3 4 5 6 |
N | N |
Example1: Base I/O Address = 0300H
|
|
|
| 6 |
|
|
|
|
|
| A |
|
|
|
|
|
| D |
|
|
0 | 1 | 1 | 0 | 1 | 0 |
| 1 | 0 | 1 | 1 | 0 | 1 | ||||||||
O 1 2 | 3 | 4 | 5 6 |
| O 1 | 2 | 3 4 | 5 6 | ||||||||||||
N |
|
|
|
|
|
|
|
|
| N |
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
00101 : 5
0110 : 6
0111 : 7
1000 : 8
1001 : 9
1010 : A
1011 : B
1100 : C
01101 : D
1110 : E
1111 : F
Example 2: Base I/O Address = 6AD0H
Figure 2-5. I/O Base Address Selection
16 |