Address Decoding
Address Decoding
Blo Start 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0
ck
2 End 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1
Blo Start 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0
ck
8 End 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Let us allocate address for 8 Seven Segment Displays
connected to our microcomputer. Keep in mind, 8086 can
only handle 64 kB i/o.
PORTS DO NOT HAVE ‘OFFSET/SEGMENT’ ADDRESS.
Memory Mapped I/O
• Treat I/O ports simply as memory blocks
• Allows direct I/O operation on ports : MOV AX, DS:BYTE
PTR 0C23A H
• Limits space for memory blocks
Direct I/O
• Separate space for ports (allowed in 8086)S