Explains the minimum mode timing diagrams of the 8086 microprocessor, focusing on the memory read cycle, control signals, ALE, address/data multiplexing and T-states.
Key Takeaways
- Minimum mode 8086 systems support four bus cycles: memory read/write and I/O read/write
- M/IO#, RD# and WR# together identify the type of bus cycle
- ALE and T1 are used to separate the address from multiplexed address/data lines
- Read cycles have a delay before valid data appears, while write cycles drive data immediately
What the video covers
- Introduces minimum mode of the 8086, where a single processor communicates with memory and I/O
- Four machine cycles are covered: memory read, memory write, I/O read and I/O write
- Machine cycles are identified using the control lines M/IO#, RD# and WR#
- Each machine cycle consists of four T-states (T1 to T4)
- The 8086 uses address/data lines AD0-AD15 and address/status lines A16/S3-A19/S6 plus BHE#/S7, all time-multiplexed
- ALE is high during T1, latching the address so that it can be separated from data and status
- Status signals S3-S7 appear from T1 onward after the address is removed
- For reads, data appears later due to memory access delay, whereas for writes data is driven immediately
- DT/R# and DEN# signals indicate data direction and when data is enabled on the bus
- Once you understand the memory read cycle, the other machine cycles can be understood by comparing their control signals
Chapters
- 00:00Introduction to Minimum Mode 8086
- 00:56Control Signals for Machine Cycles
- 02:16Overview of Four Machine Cycles and T-States
- 04:00Address, Status and BHE Signals
- 06:00ALE and Address Latching in T1
- 07:20Memory Read Cycle: DT/R#, M/IO# and RD#
- 09:40Data Read Timing and DEN#
- 12:00Summary and Comparison with Write Cycles
Full Transcript — Download SRT & Markdown
Speaker A
Welcome to engineering funda family. This video is a part of microprocessor 8086 video lecture series.
Speaker A
In this video, I'll be going to explain you timing diagrams of minimum mode. My dear students, this is very interesting topic.
Speaker A
And here in this video I'll explain you how many timing diagrams are there first.
Speaker A
My dear students, minimum mode means what? In minimum mode you are operating with single processor.
Speaker A
And in single processor microprocessor will be communicating with memory and IO. So here total four operations will happen.
Speaker A
Memory read, memory write and IO read, IO write. So this four machine cycles that we are deal with to understand by timing diagram in this video.
Speaker A
So once you understand one machine cycle, you can easily understand all machine cycle, right? So how to have timing diagram? Let us see all those things step by step.
Speaker A
So my dear students, when we talk about microprocessor 8086 in that machine cycle will get understood based on these three control lines, read bar, write bar and memory IO bar.
Speaker A
And here memory read machine cycle that is there based on memory operation means M IO bar that will be logic one.
Speaker A
And for read, read bar should be zero and write bar should be one. With memory write memory IO bar that will be one as per memory operation. And for write, write bar should be zero, read bar should be
Speaker A
one. For IO read operation M IO bar that should be zero as per IO bar is there with IO operation. And for read, read bar should be zero and write bar should be one.
Speaker A
And IO write bar you will be having read bar one, write bar zero as per right operation and IO is having memory IO bar is equals to zero. So that is how this three control lines are there.
Speaker A
Now my dear students this four machine cycles that we need to have in terms of timing diagram. So what I'll be doing is I'll explain you memory read timing diagram and based on that you can understand timing diagram
Speaker A
of all machine cycle. What are the differences that even I'll explain you along with timing diagram.
Speaker A
Right. So let us see first how memory read timing diagram is there. So with memory read, memory write, IO read and IO write there are total four T state is there with these machine cycles. So total four clocks that will be there
Speaker A
with one machine cycle. Right. So here you see four T states that I have shown.
Speaker A
Now you should know my dear students with 8086 how many signals are there. So first of all you should talk about this address status signal.
Speaker A
So A16 oblique S3 to A19 oblique S6 those four signals are there and one fifth signal that is BHE bar oblique S7.
Speaker A
So here we have four address signal and five status signal and one BHE bar signal. Right.
Speaker A
Now how to separate that I'll explain you that with respect to timings. One more thing that you need to know AD0 to AD15 that is also time multiplexed. Right.
Speaker A
Now my dear students how to separate this address, status and data that we can decide based on address latch enable.
Speaker A
So you see here we have address latch enabled and that is going active high during T1.
Speaker A
So during T1 it is going active high you see and after that it is active low.
Speaker A
So what is the function of ALE? My dear students ALE means address latch enable.
Speaker A
So what it does is it will latch address. So whenever this is active high, whenever it is one at a time over these lines you'll be having address.
Speaker A
So you see A16 oblique S3 to A19 oblique S6 whatever addresses are there that will be appearing over here during T1.
Speaker A
And once T1 is getting completed you see over here it is getting completed after that you don't have address over here.
Speaker A
Right. After that you will be having status. So address latch enable that will gives you idea about addresses are there during T1.
Speaker A
And this BHE bar oblique S7 that will gives you bus high enable during T1. Why the reason is ALE is going high during T1. So you see here we are having address four address lines are there A16 to A19. So addresses
Speaker A
will be available over here as well as BHE bar bus high enable will be available here.
Speaker A
And once T1 is completed here there will be status signal. So here S3 to S6 and S7 means S3 to S7 total five status signal that will be there from this T1 onwards. Right.
Speaker A
Now my dear students here if you observe AD0 to AD15 that is also address data time multiplexed line. So here also addresses will be available during T1 time cycle. Right. So you see here we are having address A15 to A0. So in total
Speaker A
now we have 20 bits of address. Right. As per ALE. Once ALE goes low after T1 now address will get vanished.
Speaker A
You see now address is getting vanished. Over here will be having status signal, but here you cannot say here we have data. Why? The reason is we are deal with to read data.
Speaker A
If we are deal with to write data then my dear students from here onwards you can draw data to be written. Why?
Speaker A
The reason is here 8086 is reading data from output and when you read data from output it will take time. But when 8086 will write data at that time 8086 will immediately give data over here, right? So in
Speaker A
memory write or in IO write you'll be having data from here onwards, right? From here onwards directly.
Speaker A
So this is one difference that you need to understand in read and write. Now my dear students, how to have memory read? So for that you should understand few control signals like memory IO bar first.
Speaker A
This is memory operation. So for memory operation memory IO bar that should be active high. You see it is active high. What it means? During this four T states we will be performing memory operation.
Speaker A
If you perform IO operation then this signal that should be logic zero, right? Now let us see other control signal.
Speaker A
Here data transmit receive bar signal is there. What we are doing here my dear students?
Speaker A
Here we are reading data. Reading means 8086 will receive data. Reading means it will receive data.
Speaker A
As if it receives data this DTR bar should be R bar. R bar means logic zero.
Speaker A
So it should be logic zero. You see it is logic zero. So for read this should be logic zero and for write for memory write as well as for IO write this should be logic high. So you should keep this in your
Speaker A
mind right? I'm telling you all the machine cycles in parallel. Now my dear students, we are deal with to understand how to perform memory read.
Speaker A
We have understood that now it is there with receive signal and now to receive signal we need to see read bar signal.
Speaker A
Now you see read bar that is happening after some delay. You see it is happening from here onwards, right?
Speaker A
And along with read bar you need to see how data is getting read from here.
Speaker A
See it is taking some delay from here you see. It is having some delay. Why it is there with delay?
Speaker A
The reason is microprocessor 8086 will take some time to get data from memory. That's why this delay is there.
Speaker A
When you write at that time immediately from here there will be data. So whenever you draw timing diagram of write, it may be memory write, it may be I/O write. At that time you will have to see write bar signal. Here we are reading
Speaker A
data so I am watching read bar signal. So write bar will happen here in case of write and immediately there will be data. But in read some delay will be there and then you will be having data. So you see here
Speaker A
microprocessor will be reading data. It will be there with D15 to D0, right? And now those data is there on this data bus right?
Speaker A
It could be address also but here meaning is data as it is time multiplexed right?
Speaker A
Now we need to understand by what time microprocessor has completed reading task. So for that my dear students you should see data enable line.
Speaker A
So you see data enable line that is also going active low from here. But once it is going active high, what it means?
Speaker A
It means 8086 have stored whatever data which has been read over here from memory. So you see here it is going active high. It is active low means data is enable over here.
Speaker A
But it was not there on data bus. Why the reason is it was having some delay.
Speaker A
Once it is there on data bus, microprocessor will take it in some register, right? Once it takes in register, it is confirmed by microprocessor 8086 it will disabled this DEN bar. So here it will make it to logic one. Once it makes it
Speaker A
to logic one, it will immediately terminate data bus. So you see from here onwards immediately it have terminated data bus, right?
Speaker A
So it means data read is completed, right? So in data write also same thing will happen, right?
Speaker A
Only thing is in that write bar will get active low, right? And during memory read write bar terminal that I have not shown over here, but that will be logic one only throughout this four T states, right? So
Speaker A
only thing is with IO operation this memory IO bar that will be logic zero and with read operation you see this data R bar that will be logic zero and with write operation it will be logic one, right? As we are transmitting
Speaker A
data here in data timing diagram you should be very careful in read there will be slight delay, right? Here there will be some delay.
Speaker A
And with write you'll be observing immediately it will write data over here as soon as write bar that goes active low, right?
Speaker A
So this is what you need to take care of. So you can draw all four machine cycles by having basic understanding of this single machine cycle.
Speaker A
So I think now my dear students it is clear to you how to have timing diagram.
Speaker A
Still if any confusion is there what I want is you just post that in comment box so that I can understand whether my students are getting things are not. So what I want is you just post things.
Speaker A
My dear students it is motivating me. Thank you so much for watching this video.
Topics:8086microprocessorminimum modetiming diagrammachine cyclememory readALET-statesmultiplexed buscontrol signals











