📝 Control Bus in Microprocessor System (7 MCQs)
Purpose of Control Signals in Microprocessor Operations
The control bus coordinates operations between a microprocessor, memory and input/output devices. It carries signals that indicate the type and timing of an operation, such as reading, writing, interrupt handling and bus control. In the 8085, signals including RD, WR, IO/M and ALE help external circuits identify the operation being performed and respond at the correct time.
Read, Write and IO/M Signals in the 8085
The RD and WR signals are active low and indicate read and write operations respectively. The IO/M signal distinguishes memory operations from input/output operations: low indicates a memory operation, while high indicates an input/output operation. External devices use these signals together with address information to determine whether the processor is accessing memory or communicating with a peripheral.
Coordination of Address Latching and Bus Operations
ALE becomes high during the initial portion of a machine cycle to indicate that AD0–AD7 contain a valid lower-order address. An external latch captures this information before those lines are reused for data transfer. The control signals then coordinate the actual read or write operation. Their timing ensures that the selected device receives the correct address and responds appropriately.
Control Signal Sequence During a Memory Write Operation
Suppose the 8085 executes STA 2050H to store the accumulator contents at memory address 2050H. The processor presents the address, and ALE allows the lower address byte to be latched. IO/M remains low because this is a memory operation. The processor places the accumulator value on the data bus and activates WR low to initiate the memory write.
Other Control Signals Supporting Processor Coordination
The READY input allows memory or peripheral devices to indicate whether they can complete an operation, with wait states inserted when required. HOLD and HLDA support external bus control for operations such as direct memory access. Interrupt inputs request processor attention, while RESET IN initializes the processor. These signals work alongside read and write controls to coordinate the wider microprocessor system.
Misconceptions About Active-Low and Bus-Control Signals
'RD becomes active when its signal is high' reverses its active-low behavior. 'IO/M high identifies a memory operation' is incorrect because high indicates input/output operation. 'ALE performs the memory read itself' confuses address-latching control with read control; ALE identifies valid lower-address information, whereas RD activates the read operation.
Control Signal Combinations and Timing Questions
Practise identifying RD and WR as active-low signals and interpreting IO/M for memory and input/output operations. Understand the purpose of ALE during address latching and the roles of READY, HOLD and HLDA. Examination questions may present signal combinations, ask students to identify a bus operation or require interpretation of a basic 8085 timing diagram.
8085 Control Lines and Bus-Coordination Terms
- RD - Active-low read control signal.
- WR - Active-low write control signal.
- IO/M - Distinguishes memory and I/O operations.
- ALE - Indicates valid lower-address information.
- READY - Indicates device readiness.
- HLDA - Acknowledges an external bus request.
📝 All Control Bus in Microprocessor System MCQs
Q1. A designer connects a microprocessor to RAM and needs to ensure the processor can signal a read operation. Which control bus line must be asserted to initiate the read cycle?
📖 Explanation: The read operation is started by asserting the Read Enable line on the control bus. Write Enable is used for write cycles, Address Latch holds the address, and Data Strobe indicates data transfer timing. By using Read Enable, the processor tells memory to place the requested data on the data bus. This matches the typical control‑bus protocol, so B is correct while the others describe different signals.
Q2. In a system where the microprocessor shares the data bus with an I/O device, a designer must prevent bus contention during a write operation. Which combination of control‑bus signals should be used to safely allow the processor to write data while keeping the I/O device from driving the bus?
📖 Explanation: During a write, the processor must drive the data bus while the I/O device remains high‑impedance. De‑asserting Read Enable ensures the I/O device does not try to place data on the bus, and asserting Write Enable tells memory or peripherals that a write is occurring. The other options either keep the I/O device active or disable the write altogether, leading to contention or no data transfer.
Q3. A microcontroller is programmed to toggle an LED each time it receives an external interrupt. Which control‑bus line is typically used to acknowledge the interrupt after the CPU has started servicing it?
📖 Explanation: When an interrupt is serviced, the CPU sends an Interrupt Acknowledge signal on the control bus to inform the interrupting device that the interrupt has been recognized and processing is underway. Reset forces a full system restart, Clock provides timing, and Chip Select selects a particular peripheral. Therefore, the correct line for acknowledging the interrupt is the Interrupt Acknowledge signal, making option A correct.
Q4. When designing a multiprocessor system, the architects decide to use a single control bus to distribute clock and reset signals to all CPUs. If a CPU fails to start, which control‑bus signal is most likely being incorrectly generated?
📖 Explanation: A CPU that does not start is often held in a reset state. The Reset line on the control bus forces the processor into a known initial condition; if it is not asserted correctly, the CPU will remain inactive. Chip Select chooses a device, Read Enable and Write Enable control data transfers, none of which directly start a processor. Hence, the Reset signal is the most probable culprit.
Q5. What primary purpose does the control bus serve in a microprocessor system?
📖 Explanation: The control bus does not move data or addresses; instead, it carries timing, command, and status signals such as read/write, interrupt, and reset. These signals coordinate the actions of the CPU, memory, and I/O devices, ensuring that operations occur in the correct order. Options A and B describe the data and address buses, while D refers to storage, leaving option C as the correct description.
Q6. How does the control bus interact with the address bus to ensure that the correct memory location is accessed during a read cycle?
📖 Explanation: First the address bus carries the desired memory address to the memory module. Once the address is stable, the control bus asserts the Read Enable signal, telling the memory that a read is requested. The memory then places the data onto the data bus. The control bus does not supply address bits, carry data, or reset the address lines, so option B correctly describes the coordination.
Q7. Which of the following is NOT a typical line found on a control bus?
📖 Explanation: Control‑bus lines include signals that manage operations, such as Interrupt Request, Read Enable, and Write Enable. Power Supply is not a control signal; it is provided by the power distribution network, not the control bus. Therefore, option B is the only choice that does not belong to the set of standard control‑bus lines.