Memory Devices, Circuits, and Subsystem Design: The 8088 and 8086 Microprocessors, Triebel and Singh 1
Memory Devices, Circuits, and Subsystem Design: The 8088 and 8086 Microprocessors, Triebel and Singh 1
Solution:
• Address range
A14-A0 = 000 0000 0000 00002 111 1111 1111 11112
= 0000H 7FFFH
• Byte capacity
215 = 32,768 bytes = 32K bytes
• Organization
32768 X 8 bit
• Storage density
32768 x 8 = 262144 bits = 256K bits
Program memory
• Implemented with a single 2716 EPROM—2K X 8-bit
• Program memory address range
A10-A0 = 00000H – 007FFH
• CSY* =0 produced by decoding additional address bit
ie. A11-A19 = 0 CSY*
A11-A19 = 100000000 CSX*
• MEMR*8088
The and 8086 Microprocessors,Triebel and Singh
OE* 15
9.7 8088/8086 Microcomputer System Memory
Circuitry– Maximum-Mode 8088 System
Memory Interface*
Data memory
• Implemented with 4 2142 1K X 4-bit SRAMs—1K X 16-bit
• Assume: A11-A19 = 100000000 CSX*
• SRAM memory address range
A11-A0 = 1000 0000 00002 – 1011 1111 11112
= 00800H - 00BFFH
• MEMW* WE*
The 8088 and 8086 Microprocessors,Triebel and Singh 28
• MEMR* OD
9.7 8088/8086 Microcomputer System Memory
Circuitry– Maximum-Mode 8088 System
Memory Interface
I/O ports
Word ports may also be misaligned
Examples:
performance
Disadvantage of Isolated I/O
00FFH
Can be accessed with direct or
• Solution: • Solution:
MOV AL, 0FFH ;load data into AL MOV DX,0B000H ; load address into DX
OUT 0ABH,AL ;output to port ABH MOV AL, 0FFH ; load data into AL
OUT DX,AL ; output to port B000H
• Read data from byte-wide ports at addresses AAH and A9H. Output as a word
to the word-wide port at address B000H.
• Solution:
IN AL,0AAH ; input first byte
MOV AH, AL ; load data into AL
IN AL,0A9H ; input 2nd byte
MOV DX,0B000H ; load address into DX
OUT DX,AX ; output word to port B000H