Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2
BASIC BUS OPERATION
• Machine Cycle: The basic microprocessor operation such as
reading a byte from I/O port or writing a byte to memory.
3
BASIC BUS OPERATION
• Instruction Cycle: The time a microprocessor needs to fetch
and execute on entire instruction.
4
Timing Diagram Signals (Minimum Mode)
Direction 8085 8086 (Minimum Mode)
I/P CLK CLK
A16/S3 TO A19/S6 &
O/P -
BHE’/S7
O/P A8 TO A15 -
I/P OR O/P AD0 TO AD7 AD0 TO AD15
O/P ALE ALE
O/P IO/M’ M/IO’
O/P RD’ / WR’ RD’ / WR’
O/P - DT/R’
O/P - DEN’
I/P READY READY (from 8284)
5
Memory Read Cycle of the 8086 (Minimum Mode)
Memory Read Cycle of the 8086 (Minimum Mode)
During T 1 : The address is placed on the Address/Data bus.
Control signals M/IO’ , ALE and DT/R’ specify memory or I/O, latch the address onto
the address bus and set the direction of data transfer on data bus.
During T 4 : All bus signals are deactivated, in preparation for next bus
cycle.
Data is sampled for reads, writes occur for writes.
7
Memory Write Cycle of the 8086 (Minimum Mode)
Timing Diagram Signals
Direction 8086 (Minimum Mode) 8086 (Maximum Mode)
I/P CLK CLK
A16/S3 TO A19/S6 & A16/S3 TO A19/S6 &
O/P
BHE’/S7 BHE’/S7
I/P OR O/P AD0 TO AD15 AD0 TO AD15
O/P ALE ALE (from 8288)
O/P M/IO’ MRDC’ / IORC’ / MWRC’ /
O/P RD’ / WR’ IOWC’ (from 8288)
X1 OSC
X2 CLOCK PCLK
EF LOGIC CLK
RDY1I
AEN1
READY READY
RDY2 LOGIC
AEN 2
Continued
…
Pin functions of 8284A:
RDY1 & Input signal available from the external devices.
RDY2 Whenever an external device wants to introduce
a “wait” T-state for proper data transfer, it will
activate (force to 1) the RDY1 & RDY2 input.
Continued
…
Interfacing 8284 to 8086
8282 : An Octal Latch
Interfacing Latch to 8085
HIGHER ADDRESS BUS
A15-
20
A8
DATA BUS
Interfacing Latch to 8085
HIGHER ADDRESS BUS
A15-
20
A8
34
DATA BUS
8286 : Octal Bus Transceiver
Interfacing 8286 to 8086
74LS138 : 3:8 decoder
Minimum Mode System
A minimum mode of 8086 configuration depicts a stand alone
system of computer where no other processor is connected.
This is similar to 8085 block diagram with the following
difference.
NMI G MEMR’
M/IO’ C Y5’
INTR MEMW’
3:8 Y6’
RD’ B
INTA’ IOR’
Typical Minimum WR’ A
Decoder Y1’
IOW’
HOLD G2A’ G2B’Y2’
mode configuration HLDA
Minimum Mode Vs Maximum Mode
Minimum Mode Operation:
Least expensive way to operate the 8086/8088
microprocessors
All control signals for the memory and i/o are generated by
the microprocessor only.
Control signals are identical to those of the Intel 8085A.
The three status outputs S0*, S1*, S2* from the processor are
input to 8288.
Maximum Mode System
The outputs of the bus controller are the Control Signals,
namely DEN, DT/R*, IORC*, IOWTC*, MWTC*, MRDC*,
ALE etc.
MN/MX’
0
DT/R’ CLK MRDC’
NMI MWTC’
DEN
INTR ALE 8288 AMWC’
S0’ S0’ Bus IORC’
Typical Maximum S1’ S1’
controller
(1)
IOWC’
AIOWC’
S2’ S2’
mode configuration INTA’