Académique Documents
Professionnel Documents
Culture Documents
Memory Banks
8086 has a 16-bit memory bus
possible
For a word transfer, two byte locations must be
accessed
memory, it is
important to ensure that only one of the
memory banks is enabled.
discussed.
Even though our processor has 20 bits for
address, I/O uses only 16 bits.
Thus I/O port addresses can range from 0000 to
FFFFH and the total I/O space is only 64 K i.e.,
we can use 65,536 different I/O addresses.
However, since the instructions for input (IN)
and output (OUT) are separate, we can have 64
K input ports and 64 K output ports.
Output Ports
Output ports use the instruction OUT for
Input Ports
Input ports use the IN instruction to receive
Example 7.7
Design a system with 8 LEDs connected to the
Example 7.8
Find the addresses of the two input devices