The 8085 microprocessor can perform various operations on the given data by selecting necessary instructions from its set. these instructions are stored in memory. the microprocessor reads (fetches) one instruction at a time. interpret it with the help of the instruction set library and performs the data manipulation indicated by the instruction. the result can be stored in memory or sent to the output device. the microprocessor can also respond to externally initiated signals.
It can be interrupted, reset, or asked to wait to synchronize with slower peripherals. all the various functions performed by the microprocessor can be classified into the following categories.
Basic Operations of Microprocessor
- Microprocessor initiated operations
- Internal data operations
- Externally initiated operations
Microprocessor initiated operations
All those operations in which a microprocessor communicates with its peripheral (memory and I/O device) fall under this category. these operations are
- Memory Read (data or instruction)
- Memory Write (data or instruction)
- Input Read (data)
- Output Write (data)
All the above-mentioned operations are initiated by the microprocessor itself. the 8085 microprocessor performs these operations using three system buses
- Address bus
- Data bus
- Control bus
The microprocessor has to follow the same steps to perform any microprocessor-initiated operation.
First, it identifies the address of the memory location or I/O port using the address bus.
Second, it transfers the data/instruction in binary form using the data bus. the data bus is bidirectional and data can be transferred from the microprocessor to the peripheral (memory or input/output) or from the peripheral to the microprocessor.
Third, the timing and control unit of the microprocessor provides appropriate control signals using the control bus.
The above-given image shows the memory read operation of the microprocessor. in this example, it is assumed that the operation code (op-cod) of instruction is 4F H(0100 1111) and is stored in memory location XX0AH. to perform this operation program counter (PC) places the address (XX0AH) of the memory location on the address bus. the control unit sends the memory read control signal (MEMR) to enable the output buffer of the memory chip. the control signal MEMR is a combination of two control signals IO/M and RD.
As the output buffer of the memory chip is enabled, the op-code stored in memory will be placed on the data bus and copied to the instruction decoder of the microprocessor. The instruction is then decoded and executed according to the binary pattern of the instruction.
Internal Data Operations
The internal architecture of the 8085 microprocessor is responsible to perform internal data operations. the internal data operations of the 8085 microprocessor are as follows:
- Store 8-bit data in its general-purpose registers (B, C, D, E, H, and L) for the proper execution of data.
- Perform arithmetic and logic operations on the given operands. The ALU block of the microprocessor is responsible to complete these operations. one of the operands is stored in the accumulator and the result of the operation is also stored in an accumulator.
- Test for the conditions of the result by checking the status of five individual bits of the flag register to take further decisions.
- Sequence the execution of instructions one by one using the program counter (PC).
- Store data temporarily during execution in the predefined R/W memory locations called stack and manage the sequence of the store and read operation of data on the stack using stack pointer (SP).
Externally initiated operations
Externally devices can initiate some asynchronous signals abruptly to make the microprocessor perform some specific operations by terminating its normal program execution. these operations are
when this signal is generated externally all the internal operations are suspended and the program counter (PC) is cleared to hold 0000H.
Ready signal si generated by slower devices so that they can synchronize with the faster microprocessor.
An interrupt signal is generated by the peripheral to terminate the normal execution of instructions and to execute some other instructions. these special instructions are known as service routines. after completing the service routine of an interrupt, the microprocessor resumes its normal operations.
The HOLD pin is used for Direct Memory Access (DMA) operations. through this pin, the DMA controller requests the microprocessor to relinquish control of buses and allows peripherals to use them.
Comments on “Operations of Microprocessor”
I read the above article and I got some knowledge from your article.Android Online Experts. It's actually great and useful data for us. Thanks for share it.