Architechture or Functional Block Diagram of 8085
Architechture or Functional Block Diagram of 8085
Architechture or Functional Block Diagram of 8085
8085
Address Bus:
The address bus is a group of 16 lines generally identified as
A0 to A15.
The address bus is unidirectional: bits flow in one
direction-from the MPU to peripheral devices.
The MPU uses the address bus to perform the first function:
identifying a peripheral or a memory location.
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:
Registers of 8085:-
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.
The accumulator is an 8-bit register that is part of the
arithmetic/logic unit (ALU).
This register is used to store 8-bit data and to perform
arithmetic and logical operations.
The result of an operation is stored in the accumulator.
Flags:-
The ALU includes five flip-flops that are set or reset according
to the result of an operation.
The microprocessor uses the flags for testing the data
conditions.
They are Zero (Z), Carry (CY), Sign (S), Parity (P), and Auxiliary
Carry (AC) flags. The most commonly used flags are Sign, Zero, and
Carry.
The bit position for the flags in flag register is,
Temporary Register:-
It is used to hold the data during the arithmetic and logical
operations.
Instruction Register:-
When an instruction is fetched from the memory, it is loaded in
the instruction register.
Instruction Decoder :-
It gets the instruction from the instruction register and decodes
the instruction.
It identifies the instruction to be performed.
Address bus
A15-A8, it carries the most significant 8-bits of memory/IO
address.
Data bus
AD7-AD0, it carries the least significant 8-bit address and data bus.
Control and status signals
IO/M:-
This signal is used to differentiate between IO and Memory
operations, i.e. when it is high indicates IO operation and when it
is low then it indicates memory operation.
S1 & S0 :-
These signals are used to identify the type of current operation .
Power supply
There are 2 power supply signals VCC & VSS. VCC indicates +5v
power supply and VSS indicates ground signal.
Clock signals
There are 3 clock signals, i.e. X1, X2, CLK OUT.
X1, X2 A crystal (RC, LC N/W) is connected at these two
pins and is used to set frequency of the internal clock generator.
This frequency is internally divided by 2.
CLK OUT This signal is used as the system clock for devices
connected with the microprocessor.
These are the instructions used to transfer the data from one
register to another register, from the memory to the register, and
from the register to the memory without any alteration in the
content. Addressing modes in 8085 is classified into 5 groups
Arithmetic Operations:
These instructions are used to perform addition,
substraction, increment and decrement.
FOR EX:-ADD
R-M . Add register or memory, to the accumulator
Logical Operations:-
These instructions are used to perform logical operations
with the contents of the accumulator. Typical instructions
perform AND, EX-OR, Rotate, Compare, Complement etc.
Branching Operations:-
These instructions are used to alter the sequence of program
execution either conditionally or unconditionally. EXAMPLES:
Jump, Call, Return etc.