Professional Documents
Culture Documents
and
Interfacing
Slides courtesy:
1. Book ‘The Intel Microprocessors, Architecture,
Programming and Interfacing” , 7ed, by Barry B. Brey
2. http://www.pcpolytechnic.com/computer/ppt/micro/Chap
%203_1.pptx
8086 in the Minimum Mode
Address
Demultiplexing
Bidirectional
Data Buffering
Prevents
Transceiver
From driving
the bus when
interrupt
controller
Is using it RAM ROM I/O
Interrupt
Handling Interrupt
Requests
8086 in the Maximum Mode
8288 Bus Controller: Necessary in this mode.
Generates essential control signals not provided by MP
5
Hardware Organization of the Memory
Address Space
High and low
memory
banks of the
8086
6
Hardware Organization of the Memory
Address Space
Byte transfer
by the 8088
7
Hardware Organization of the Memory
Address Space
Word transfer by
the
8088
8
Hardware Organization of the Memory
Address Space
Even address
byte transfer
by the 8086
9
Hardware Organization of the Memory
Address Space
Odd address
byte transfer by
the
8086
10
Hardware Organization of the Memory
Address Space
11
Hardware Organization of the Memory
Address Space
Odd-address word transfer by the 8086
12
Decoding Memory Address – Decoders
– address inputs
– data outputs or
input/outputs
– some type of
selection input
– at least one
control input to
select a read or
write operation
15
A Typical Memory Device
• The number of address pins
needed is directly related to
the number of addressable
locations in the memory chip.
17
Memory Organization
• An 8-bit-wide memory device is often
called a byte-wide memory.
– most devices are currently 8 bits wide,
– some are 16 bits, 4 bits, or just 1 bit wide
• Catalog listings of memory devices often
refer to memory locations times bits per
location.
– a memory device with 1K memory locations
and 8 bits in each location is often listed as
a 1K 8 by the manufacturer
• Memory devices are often classified
according to total bit capacity. 22
Interfacing 2k Bytes ROM
Using simple NAND decoder
A0 -- A10
A0 -- A10
33
8088 Interfacing 64KB ROM
34
8088 Interfacing 512KB RAM
35
8086 Interfacing 1MB RAM
36
8086 Interfacing 1MB RAM
37
80386 Interfacing 1M Bytes
RAM
38
80386 Interfacing 1M Bytes
RAM
39