Microprocessor Ā· Unit 2 Ā· 7 hrs
Basic Architecture
Exam-focused notes for Basic Architecture (Microprocessor, CSC167): what the TU syllabus asks and how it has actually been tested, with 9 solved past questions from this unit.
Basic Architecture in short
This chapter looks inside the 8085 microprocessor itself: its overall architecture and how it carries out memory and I/O operations, the internal blocks that make up its data path, its 40 external pins, and how its single multiplexed bus is split back into separate address and data lines and used to generate the control signals the rest of the system needs.
What this unit covers
- Microprocessor Architecture and Operations
- Memory
- I/O devices
- Memory and I/O operations
- 8085 Microprocessor Architecture
- Address, Data And Control Buses
- 8085 Pin Functions
- Demultiplexing of Buses
- Generation Of Control Signals
8085 Microprocessor Architecture
2081 Ā· 10 marks
Explain the internal architecture of 8085 microprocessor with labeled block diagram.[10]
Memory and I/O operations
2081 Ā· 5 marks
Explain different types of IO instructions. Differentiate between I/O mapped and memory mapped I/O. [5]
Demultiplexing of Buses
2080 Ā· 5 marks
What is ALE? Explain the role of ALE in address/data bus De-multiplexing in 8085 with suitable diagram. [5]
Show solved answerHide answer
ALE (Address Latch Enable) and Its Role in Address/Data Bus De-multiplexing in 8085
What is ALE?
ALE (Address Latch Enable) is a control signal generated by the 8085 microprocessor during the first clock cycle (T1) of every machine cycle. It is an active-high output signal that indicates the lower 8-bit address (A0-A7) is present on the multiplexed Address/Data bus (AD0-AD7).
In simple terms: ALE is a signal that tells external hardware "right now the bus carries an address, latch it before it changes to data."
Why is De-multiplexing Needed?
The 8085 microprocessor has only 40 pins. To reduce pin count, Intel multiplexed the lower 8 address lines (A0-A7) with the 8 data lines (D0-D7) on the same physical pins, called the AD0-AD7 bus.
- The upper 8 address bits (A8-A15) are available on dedicated pins and do not need de-multiplexing.
- The lower 8 address bits (A0-A7) share pins with data, so they must be separated (de-multiplexed) using ALE.
Role of ALE in De-multiplexing
| Clock State | ALE Signal | Bus Content (AD0-AD7) |
|---|---|---|
| T1 (first clock) | HIGH | Lower 8-bit Address (A0-A7) |
| T2, T3 onwards | LOW | Data (D0-D7) |
Step-by-Step Process:
- At T1: ALE goes HIGH. The lower 8-bit address (A0-A7) is placed on the AD0-AD7 bus.
- Latch captures address: The HIGH-to-LOW transition of ALE triggers an external latch (e.g., 74LS373) to capture and hold the lower 8-bit address.
- After T1: ALE goes LOW. The AD0-AD7 bus now carries data (D0-D7) for read/write operations.
- Latch holds address: The latch continues to output the stable lower 8-bit address (A0-A7) throughout the remaining machine cycle.
- Full 16-bit address is now available: Upper 8 bits (A8-A15) directly from the processor + Lower 8 bits (A0-A7) from the latch output.
Diagram: Address/Data Bus De-multiplexing Using ALE
8085 Microprocessor
+---------------------------+
| |
| A8 - A15 |--------------|---------> A8-A15 (Upper Address Bus)
| | |
| AD0 - AD7 |----+---------+---------> D0-D7 (Data Bus)
| | | |
| ALE |----|--+ |
| | | | |
+---------------------------+
| |
| | ALE (HIGH at T1, latches address)
| |
v v
+------------+
| Latch | (e.g., 74LS373)
| 74LS373 |
| |
| G (Enable) |<---- ALE
+------------+
|
v
A0 - A7 (Lower Address Bus, stable throughout)
|
v
+----------------+------------------+
| Full 16-bit Address Bus |
| A0-A15 to Memory/I/O |
+-----------------------------------+
Timing Diagram:
CLK : |--T1--|--T2--|--T3--|
ALE : |HIGH |LOW |LOW |
AD0-7: |ADDR |DATA |DATA |
(A0-A7)(D0-D7)(D0-D7)
Latch: |Captures A0-A7 on falling edge of ALE|
|Holds A0-A7 stable for entire cycle |
Summary
| Feature | Detail |
|---|---|
| Full form | Address Latch Enable |
| Nature | Active-High output signal from 8085 |
| Active during | T1 state of every machine cycle |
| Purpose | Separates lower address (A0-A7) from data (D0-D7) |
| External component used | Latch IC (e.g., 74LS373) |
| Result | Full stable 16-bit address bus available to memory/I/O |
Conclusion: ALE is essential in the 8085 because the multiplexed AD0-AD7 bus serves dual purpose. Without ALE and an external latch, it would be impossible to distinguish between address and data on those shared lines, making memory and I/O communication unreliable.
2079 Ā· 5 marks
What are the different kinds buses? How and why de-multiplexing of buses is carried out in 8085. [5]
Show solved answerHide answer
Kinds of Buses and De-multiplexing in 8085
Part 1: Different Kinds of Buses
A bus is a group of conducting wires (fine thin lines) that connects different parts of a microprocessor system and carries signals between them. There are three types of buses:
1. Address Bus
- A group of conducting wires that carries address only (address of a memory location or I/O port).
- It is unidirectional -- data flows in one direction only: from microprocessor to memory or from microprocessor to I/O devices.
- In the 8085 microprocessor, the address bus is 16-bit wide, meaning it can address 2^16 = 64 KB of memory locations.
- The length of the address bus determines the amount of memory a system can address.
2. Data Bus
- A group of conducting wires that carries data to and from memory or I/O devices.
- It is bidirectional -- data can flow in both directions (read and write).
- In the 8085 microprocessor, the data bus is 8-bit wide, which is why 8085 is called an 8-bit microprocessor.
3. Control Bus
- A group of conducting wires used to generate timing and control signals to control all associated peripherals.
- The microprocessor uses the control bus to determine what operation to perform on the selected memory location.
- Common control signals include:
- Memory Read
- Memory Write
- I/O Read
- I/O Write
- If the control line is low (no electricity), memory is read; if high, memory is written.
Part 2: De-multiplexing of Buses in 8085
Why De-multiplexing is Carried Out
The 8085 microprocessor has only 40 pins. To reduce the number of pins and keep the chip compact (as a VLSI circuit), Intel multiplexed the lower-order address bus with the data bus on the same set of 8 pins (AD0 -- AD7). This means:
- During the first part (T1 state) of a machine cycle, these pins carry the lower 8 bits of the address (A0 -- A7).
- During the later part (T2, T3 states), the same pins carry 8-bit data (D0 -- D7).
Since address and data share the same lines, they must be separated (de-multiplexed) before use, otherwise the system cannot distinguish between address and data signals.
How De-multiplexing is Carried Out
De-multiplexing is done using a latch (e.g., 74LS373 octal latch):
| Step | Description |
|---|---|
| Step 1 | At the beginning of T1 state, 8085 sends the lower 8-bit address on AD0--AD7 lines. |
| Step 2 | The 8085 also sends an ALE (Address Latch Enable) signal HIGH at this moment. |
| Step 3 | The ALE signal is connected to the Enable (G) pin of the latch. When ALE is HIGH, the latch is transparent and the address is passed through and stored (latched). |
| Step 4 | When ALE goes LOW, the latch holds the address at its output (A0--A7 are now available separately). |
| Step 5 | The AD0--AD7 lines are now free to carry data (D0--D7) in subsequent clock states. |
8085 Pins Latch (74LS373) Memory / I/O
AD0 - AD7 -----------> D0-D7 (Input)
Q0-Q7 (Output) --------> A0 - A7 (Address)
ALE -----------> G (Enable)
AD0 - AD7 ----------------------------------------> D0 - D7 (Data)
The upper 8 address bits (A8 -- A15) are available on dedicated pins and do not need de-multiplexing.
Summary
| Feature | Detail |
|---|---|
| Reason for multiplexing | To reduce pin count on the 40-pin 8085 chip |
| Multiplexed pins | AD0 -- AD7 (shared by lower address and data) |
| Signal used for de-mux | ALE (Address Latch Enable) |
| Hardware used | Octal latch (e.g., 74LS373) |
| Result | Separate, stable A0--A7 and D0--D7 lines for the rest of the system |
2078 Ā· 5 marks
What is the use of $AD_7-AD_0$ in 8085 microprocessor? Explain address de-multiplexing process in 8085 microprocessor with suitable diagram. [5]
2076 Ā· 5 marks
Write the process of address and data separation in De-multiplexed address/data bus in 8085 microprocessor. [5]
2080.1 Ā· 10 marks
Difference between 8085 and 8086 microprocessor. Explain the concept of demultiplexing of address bus and why is it required?[10]
Generation Of Control Signals
2078 Ā· 5 marks
Draw a logic diagram showing generation of memory and I/O read/write control signals in 8085 microprocessor. [5]
Microprocessor Architecture and Operations
2075 Ā· 5 marks
Write short notes on:a) Von Neumann architecture b) Macro Assembler [5]
Make Unit 2 stick
Practice CSC167 with flashcards & quizzes