Professional Documents
Culture Documents
Microprocessors and Microcontrollers
Microprocessors and Microcontrollers
Microcontrollers
Architecture of the 8085
Microprocessor
The Intel 8085/8085AH is a microprocessor, i.e., an 8-bit parallel central processing
unit implemented in silicon gate NMOS/HMOS/C-MOS technology. It is available in a
40-pin IC package fabricated on a single LSI chip. It is designed with higher processing
speed, ranging from 3 MHz to 5 MHz, Lower power consumption and power-down
mode is provided, thereby offering a high level of system integration. This processor
uses a multiplexed address/data bus. The address bus is split between the 8-bit address
bus and the 8-bit data bus.
Operation of 8085 Microprocessor
Generally, a microprocessor performs four different operations: memory read,
memory write, input/output read and input/output write. In the memory read
operation, data will be read from memory and in the memory write operation,
data will be written in the memory. Data input from input devices are I/O read
and data output to output devices are I/O write operations. Microprocessors
communicate with the memory, and I/O devices through address bus, data bus
and control bus
Operation of 8085 Microprocessor
Memory read operation: Initially, the microprocessor places a 16-bit
address on the address bus. Then the external decoder logic circuit decodes
the 16-bit address on the address bus and the memory location is identified.
Thereafter, the microprocessor sends MEMR control signal which enables
the memory IC. After that, the content of the memory location is placed on
the data bus and also sent to the microprocessor
Arithmetic Logic Unit (ALU)
All arithmetic and logical operations are performed in the Arithmetic Logic Unit
(ALU). The ALU functioning consists of Accumulator (A), Temporary Register
(TR), Flag Register (FR) and arithmetic logic unit. The temporary register is not
accessible to the user. Therefore, the user cannot read the content of TR.
Actually, this register is used to store or load the operand during arithmetic and
logical operations.
Arithmetic Logic Unit (ALU)
The sequence of operations in ALU are given below:
Timing and Control Unit: The control unit controls the operations of different
units while the CPU generates timing sequence signals for the execution of
instructions. This unit controls the data flow between CPU and memory and
CPU and peripheral devices. This unit provides control, status, DMA and reset
signals to perform any memory and input–output related operations. Actually, it
controls the entire operation of microprocessors. Therefore, the timing and
control unit acts as the brain of the microprocessor.
Arithmetic Logic Unit (ALU)
Registers: The Intel 8085 has six general-purpose registers to store 8-bit data
and these registers are identified as B, C, D, E, H and L. When two registers are
combined, 16-bit data can be stored in a register pair. The only possible
combinations of register pairs are BC, DE and HL. These register pairs are used
to perform 16-bit operations. There is an accumulator register and one flag
register. The accumulator is an 8-bit register. Arithmetic and logical operations
are performed in the accumulator and after operation, the result will be stored in
the accumulator. In addition with the above registers, there are two 16-bit
registers, namely, the Stack Pointer (SP) and Program Counter (PC).
Arithmetic Logic Unit (ALU)
Program Counter (PC):
The program counter is a 16-bit special-purpose register. This is used to hold the
memory address of the next instruction which will be executed.
Memory Address Register (MAR): The Memory Address Register holds the
address of the next program instruction. Then MAR feeds the address bus with
addresses of the memory location of the program instruction which will be
executed.