Skip to main content

8085 Microprocessor: De-multiplexing of AD0-AD7 Address and Data Lines

 De-multiplexing of AD0-AD7 of 8085 Microprocessor


THE ADDRESS AND DATA BUSES:
• 8085 Microprocessor have total 16 address lines and 8 data lines.
• 8 signal lines A8 – A15 which are unidirectional. • The other 8 address bits are multiplexed with the 8 data bits. So, the bits AD0 – AD7 are
bi-directional and serve as A0 – A7 (address bus) and D0 – D7 (data bus) at the same time.
• During the execution of the instruction, these lines carry the address bits during the early
part, then during the late parts of the execution, they carry the 8 data bits. In order to
separate the address from the data, we can use a latch to save the value before the function
of the bits changes.

THE CONTROL AND STATUS SIGNALS: • There are 4 main control and status signals.
1. ALE (Address Latch Enable):
This signal is a pulse that become 1 when the AD0 –AD7 lines have an address on them. It
becomes 0 after that. This signal can be used to enable a latch to save the address bits from
the AD lines.
2. RD (Read):
When it is active low then microprocessor reads the instructions. 3. WR (Write):
When it is active low then microprocessor writes the instructions. 4. IO/M:
This signal specifies whether the operation is a memory operation (IO/M=0) or an I/O operation (IO/M=1). 5. S1 and S0:
Status signals to specify the kind of operation being performed. 

DE-MULTIPLEXING OF AD0-AD7 OF 8085 MICROPROCESSOR: • The AD7– AD0 lines are serving a dual purpose and that they need to be de-multiplexed
to get all the information. • The high order bits of the address remain on the bus for three clock periods. However, the low order bits remain for only one clock period and they would be lost if they are not saved externally. • To make sure we have the entire address for the full three clock cycles, we will use an external latch to save the value of AD7– AD0 when it is carrying the address bits. We use the ALE signal to enable this latch. • ALE operates as a pulse during T1, we will be able to latch the address. Then when ALE goes low, the address is saved and the AD7– AD0 lines can be used as the bi-directional data lines.

GENERATING CONTROL SIGNALS:
• The 8085 generates a RD & WR signals. However, the signal needs to be used with
both memory and I/O device. So, it must be combined with the IO/M signal to generate
different control signals for the memory and I/O device. • The following circuitry can be used to generate these signals:


• The following circuitry will show De-multiplexing of AD0-AD7 and Generating control
signals:


If you are interested to know more on any other subject in which you are interested or if you have any doubts then tell us in comment about it.  





































Comments

Popular posts from this blog

Interrupts in 8085 Microprocessor: Vectored-Non Vectored Interrupts And Maskable-Non Maskable Interrupts

Vectored Interrupt: In vectored interrupts, the manufacturer fixes the address of the ISR to which the program control is to be transferred. the processor automatically branches to the specific address in response to an interrupt.  • The TRAP, RST 7.5, RST 6.5 and RST 5.5 are vectored interrupts. Non-Vectored Interrupt:   But in non-vectored interrupts the interrupted device should give the address of the interrupt service routine (ISR).    • The INTR is a non-vectored interrupt. Hence when a device interrupts through INTR, it has to supply the address of ISR after receiving interrupt acknowledge signal. Maskable & Non-Maskable Interrupt: The hardware vectored interrupts are classified into maskable and non-maskable interrupts.  • TRAP is non-maskable interrupt.  • RST 7.5, RST 6.5 and RST 5.5 are maskable interrupt. Masking is preventing the interrupt from disturbing the main program. When an interrupt is masked the processor will not accept the i...

Farmer's Protest in India-2020

The  Indian farmers' protes t of 2020  is an ongoing protest against the three farm acts  passed by the Indian  Parliament  in 2020.This protest is mainly going on  by farmers of Punjab , Rajasthan and Haryana. Firstly the local protests began in states of Punjab and Haryana.  After two months of protests, farmers from these two states began a movement named ' Dilli Chalo ' , in which tens of thousands of farmers marched towards the national capital. Police and law enforcement used water cannons and tear gas to prevent the farmers from entering Delhi . On 26 November, a nationwide general strike  that reportedly involved approximately 250 million people  took place in support of the farmers. This protest is going on because of three bills which were passed  by the Rajya   Sabha  passed the three bills by 22 September.  The President of India  gave his assent by signing the bills on 28 September, thus co...