An Over View of 8085
An Over View of 8085
Sub Topics:
1) Block diagram of 8085 microprocessor
2) 8085 system bus
3) 8085 registers
4) Timing and Control unit
5) Interrupt control unit
6) 8085 PIN DIAGRAM
Data Bus:
The data bus is a group of eight lines used for data flow. These lines are bi-
directional data flow in both directions between the MPU and memory and
peripheral devices.
The MPU uses the data bus to perform the second function: transferring binary
information.
The eight data lines enable the MPU to manipulate 8-bit data ranging from 00 to FF
(28 = 256 numbers).
The largest number that can appear on the data bus is 11111111.
Control Bus:
The control bus carries synchronization signals and providing timing signals.
The MPU generates specific control signals for every operation it performs. These
signals are used to identify a device type with which the MPU wants to
communicate.
3) 8085 Registers:
The 8085 have six general-purpose registers to store 8-bit data during program
execution.
These registers are identified as B, C, D, E, H, and L.
They can be combined as register pairs-BC, DE, and HL-to perform some 16-bit
operations.
Types of Interrupts:
It supports two types of interrupts.
i) Software
ii) Hardware
i) Software interrupts:
The software interrupts are program instructions.
These instructions are inserted at desired locations in a program.
The 8085 has eight software interrupts from RST 0 to RST 7.
The vector address for these interrupts can be calculated as follows.
Interrupt number * 8 = vector address
EX: - For RST 5, 5 * 8 = 40 = 28H
Vector address for interrupt RST 5 is 0028H
The Table shows the vector addresses of all interrupts.
Fig (a) - Pin Diagram of 8085 & Fig (b) - logical schematic of Pin diagram.
iv) Control and Status signals:
ALE (output) - Address Latch Enable.
This signal helps to capture the lower order address presented on the multiplexed
address / data bus.
RD (output 3-state, active low) - Read memory or IO device.
This indicates that the selected memory location or I/O device is to be read and
that the data bus is ready for accepting data from the memory or I/O device.
WR (output 3-state, active low) - Write memory or IO device.
This indicates that the data on the data bus is to be written into the selected
memory location or I/O device.
IO/M (output) - Select memory or an IO device.
This status signal indicates that the read / write operation relates to whether the
memory or I/O device. It goes high to indicate an I/O operation. It goes low for memory
operations.
Status Signals:
It is used to know the type of current operation of the microprocessor.
3 output states are high & low states and additionally a high impedance state.
When enable E is high the gate is enabled and the output Q can be 1 or 0 (if A is
0, Q is 1, otherwise Q is 0).
However, when E is low the gate is disabled and the output Q enters into a high
impedance state.
When E is low, Q enters a high impedance state; high impedance means it is
electrically isolated from the OR gate's input, though it is physically connected.
Therefore, it does not draw any current from the OR gate's input.
When 2 or more devices are connected to a common bus, to prevent the devices
from interfering with each other, the tristate gates are used to disconnect all
devices except the one that is communicating at a given instant.
The CPU controls the data transfer operation between memory and I/O device.
Direct Memory Access operation is used for large volume data transfer between
memory and an I/O device directly.
The CPU is disabled by tri-stating its buses and the transfer is effected directly by
external control circuits.
HOLD signal is generated by the DMA controller circuit. On receipt of this
signal, the microprocessor acknowledges the request by sending out HLDA signal
and leaves out the control of the buses. After the HLDA signal the DMA controller
starts the direct transfer of data.
READY (input)
Memory and I/O devices will have slower response compared to microprocessors.
Before completing the present job such a slow peripheral may not be able to
handle further data or control signal from CPU.
The processor sets the READY signal after completing the present job to access
the data.
The microprocessor enters into WAIT state while the READY pin is disabled.
Single Bit Serial I/O port:
SID (input) - Serial input data line
SOD (output) - Serial output data line
These signals are used for serial communication.