Address, data and control buses

The Intel 8085 microprocessor uses three types of buses — the address bus, the data bus and the control bus — to communicate with memory and input/output (I/O) devices. Each bus plays a special and important role in the overall operation of the microprocessor.

Address bus

Structure and width

The address bus in the Intel 8085 is a 16-bit unidirectional bus. It consists of 16 individual lines designated A0 — A15.

The unidirectional nature means that data can travel in only one direction — from the microprocessor to external devices (memory or I/O ports).

Function

Its main function is to specify the memory location or I/O port that the microprocessor wants to access. Because it is 16 bits wide, the 8085 can generate 216 different address combinations.

This allows the microprocessor to access 65536 memory locations (64 KB) or I/O ports. For example, if the microprocessor wants to read an instruction from the memory location with address 2000h, it places the 16-bit binary equivalent of 2000h (i.e. 00100000000000002) on the address bus.

Memory and I/O addressing

The same address bus is used for both memory addressing and I/O addressing. The 8085 uses separate control signals to distinguish memory-related operations from I/O-related operations.

Data bus

Structure and width

The data bus in the 8085 is an 8-bit bidirectional bus. It consists of 8 lines designated D0 — D7.

The bidirectional nature of the bus allows data to be transferred in both directions between the microprocessor and external devices.

Function

The bus is used to transfer data between the microprocessor and memory or I/O devices. When the microprocessor fetches an instruction from memory, the instruction byte is transferred from memory to the microprocessor over the data bus.

Similarly, when the microprocessor writes data to a memory location or an I/O port, the data is transferred from the microprocessor to the external device over the data bus. For example, if the microprocessor wants to store the value 10h in a memory location, it places 10h on the data bus and sends it to the specified memory location.

Data transfer operations

The 8-bit width of the data bus means that the 8085 can transfer 8 bits (1 byte) of data at a time. To handle larger amounts of data, some operations may require several data transfer cycles.

Control bus

Structure and composition

The control bus is a set of several individual control lines that carry various control signals. These signals are used to coordinate data transfer operations between the microprocessor, memory and I/O devices.

Important control signals in the 8085

RD (read): when this signal is active (low level), it indicates that the microprocessor wants to read data from memory or an I/O port.

WR (write): when this signal is active (low level), it indicates that the microprocessor wants to write data to memory or to an I/O port.

ALE (address latch enable): this signal is used to latch the lower 8 bits of the 16-bit address (which is multiplexed with the data bus) during the first part of the machine cycle.

MREQ (memory request): this signal indicates that the microprocessor is accessing memory.

IORQ (I/O request): this signal indicates that the microprocessor is accessing an I/O port.

Function

The control bus provides orderly and synchronized execution of data transfer operations. For example, when the microprocessor wants to read data from memory, it first places the memory address on the address bus, activates the MREQ and RD signals, and then waits for the memory device to place the data on the data bus.

Conclusion

Thus, the address bus determines which data must be accessed, the data bus carries the actual data, and the control bus manages and coordinates these data transfer operations in the Intel 8085 microprocessor system.