Introduction To 8085 Microprocessor
Introduction To 8085 Microprocessor
Introduction to Microprocessors
The microprocessor is one of the most important components of
a digital computer.
It acts as the brain of the computer system.
faster, smaller and capable of doing more work per clock cycle.
Sometimes, microprocessor is written as P.
( is pronounced as Mu )
Some Definitions
Microprocessor:
The central processing unit built on a single IC is called
Microprocessor.
A microprocessor (sometimes abbreviated as P) is a digital
Some Definitions
Microcomputer:
A digital computer, in which one microprocessor has been provided
computer.
Some Definitions
Multiprocessor System:
The CPU of a large powerful digital computer contains more than
one microprocessor.
High-end powerful servers, mainframe computers, supercomputers,
Some Definitions
Microcontroller:
A highly integrated chip that contains all the components such as
CPU, RAM, some form of ROM, I/O ports, and timers is called
Microcontroller.
Unlike a general-purpose computer, which also includes all of these
Microprocessor Characteristics
Instruction Set:
The set of instructions that a microprocessor can understand.
Bandwidth:
The number of bits processed in a single instruction.
Capability:
It depends upon the number of instructions and capability of each
instruction.
Microprocessor Characteristics
Clock Speed:
The clock speed determines how many operations per second the processor can
perform.
Every computer contains an internal clock that regulates the rate at which
The faster the clock, the more instructions the CPU can execute per second.
Clock speeds are expressed in megahertz (MHz) or gigahertz (GHz).
The microprocessors of personal computers have clock speeds of anywhere from
Microprocessor Characteristics
Word Length:
It depends upon the width of internal data bus, registers, ALU etc.
An 8-bit microprocessor can process 8 bit data at a time.
Microprocessor Characteristics
Width of Data Bus:
This is the size of the data bus. It defines the number of bits that can be transferred
depends upon the width of the input/output address provided in the input/output
instruction.
10
Microprocessor Characteristics
Data Types:
The microprocessor handles various types of data formats like
Interrupt Capability:
Interrupts are used to handle unpredictable and random events in
the microcomputer.
Intel 8085
Introduced in 1976.
It was also 8-bit P.
Its clock speed was 3 MHz.
Its data bus is 8-bit and
memory.
It had 246 instructions.
12
sold.
BLOCK DIAGRAM OF
INTEL 8085
13
14
Instruction Unit
15
Processing Unit
Arithmetic and Logic Unit
Accumulator
Status Flags
Temporary Register
16
Instruction Unit
Instruction Register
Instruction Decoder
Timing and Control Unit
17
19
Accumulator
It the main register of microprocessor.
It is also called register A.
It is an 8-bit register.
It is used in the arithmetic and logic operations.
It always contains one of the operands on which arithmetic/logic has
to be performed.
20
purpose registers.
Arithmetic Operations:
Addition, Subtraction, Increment, Decrement etc.
Logic Operations:
AND, OR, X-OR, Complement etc.
21
Temporary Register
It is an 8-bit register.
It is used to store temporary 8-bit operand from general purpose
register.
It is also used to store intermediate results.
22
Status Flags
Status Flags are set of flip-flops which are used to check the status
23
Status Flags
24
Sign Flag
Zero Flag
AC =
Parity Flag
CY =
Carry Flag
Status Flags
Sign Flag (S):
It tells the sign of result stored in Accumulator after the operation is
performed.
If result is ve, sign flag is set (1).
If result is +ve, sign flag is reset (0).
25
Status Flags
Zero Flag (Z):
It tells whether the result stored in Accumulator is zero or not after
26
Status Flags
Auxiliary Carry Flag (AC):
It is used in BCD operations.
When there is carry in BCD addition, we add 0110 (6) to the result.
If there is carry in BCD addition, auxiliary carry is set (1).
If there is no carry, auxiliary carry is reset (0).
27
Status Flags
Parity Flag (P):
It tells the parity of data stored in Accumulator.
If parity is even, parity flag is set (1).
If parity is odd, parity flag is reset (0).
28
29
Instruction Register
It is used to hold the current instruction which the
30
Instruction Decoder
It interprets the instruction stored in instruction register.
It generates various machine cycles depending upon the
instruction.
The machine cycles are then given to the Timing and Control
Unit.
31
devices.
Depending upon the machine cycles received from Instruction
32
34
D E,
H L.
Program Counter
It is used to hold the address of next instruction to be executed.
It is a 16-bit register.
The microprocessor increments the value of Program Counter
35
Stack Pointer
It holds the address of top most item in the stack.
It is also 16-bit register.
Any portion of memory can be used as stack.
36
Increment/Decrement Register
This register is used to increment or decrement the value of
Stack Pointer.
During PUSH operation, the value of Stack Pointer is
incremented.
During POP operation, the value of Stack Pointer is
decremented.
37
Address Latch
It is group of 8 buffers.
The upper-byte of 16-bit address is stored in this latch.
And then it is made available to the peripheral devices.
38
Address/Data Latch
The lower-byte of address and 8-bit of data are multiplexed.
It holds either lower-byte of address or 8-bits of data.
This is decided by ALE (Address Latch Enable) signal.
If ALE = 1 then
Address/Data Latch contains lower-byte of address.
If ALE = 0 then
It contains 8-bit data.
39
serial.
Microprocessor works with 8-bit parallel data.
40
Interrupt Controller
It is used to handle the interrupts.
There are 5 interrupt signals in 8085:
TRAP
RST 7.5
RST 6.5
RST 5.5
INTR
41
Interrupt Controller
Interrupt controller receives these interrupts according to their
Acknowledge.
42
Power Supply
This unit provides +5V power supply to the microprocessor.
The microprocessor needs +5V power supply for its operation.
43