Professional Documents
Culture Documents
Maninder Kaur
Introduction to 8085
It was introduced in 1977.
BLOCK DIAGRAM OF It is 8-bit microprocessor.
INTEL 8085 Its actual name is 8085 A.
It is single NMOS device.
It contains 6200 transistors
approx.
Its dimensions are
Gursharan Singh Maninder Kaur
164 mm x 222 mm.
mailme@gursharansingh.in mailme@maninderkaur.in
It is having 40 pins Dual-Inline-
Package (DIP).
Gursharan Singh
2 www.eazynotes.com 12-Dec-11
Maninder Kaur
Processing Unit
Instruction Unit
www.eazynotes.com 1
Gursharan Singh 12-Dec-11
Maninder Kaur
Temporary Register
Increment/Decrement Register
Address Latch
Address/Data Latch
Gursharan Singh Gursharan Singh
9 www.eazynotes.com 12-Dec-11 10 www.eazynotes.com 12-Dec-11
Maninder Kaur Maninder Kaur
It is also called register ‘A’. The data is available in accumulator and temporary/general
purpose registers.
It is an 8-bit register.
Arithmetic Operations:
It is used in the arithmetic and logic operations.
It always contains one of the operands on which arithmetic/logic Addition, Subtraction, Increment, Decrement etc.
has to be performed.
Logic Operations:
After the arithmetic/logic operation, the contents of accumulator
are replaced by the result. AND, OR, X-OR, Complement etc.
www.eazynotes.com 2
Gursharan Singh 12-Dec-11
Maninder Kaur
It is an 8-bit register. Status Flags are set of flip-flops which are used to check the
status of Accumulator after the operation is performed.
It is used to store temporary 8-bit operand from general
purpose register.
Z = Zero Flag It tells the sign of result stored in Accumulator after the
operation is performed.
AC = Auxiliary Carry Flag
If result is –ve, sign flag is set (1).
P = Parity Flag
If result is +ve, sign flag is reset (0).
CY = Carry Flag
It tells whether the result stored in Accumulator is zero or not It is used in BCD operations.
after the operation is performed.
When there is carry in BCD addition, we add 0110 (6) to the
If result is zero, zero flag is set (1). result.
If result is not zero, zero flag is reset (0). If there is carry in BCD addition, auxiliary carry is set (1).
www.eazynotes.com 3
Gursharan Singh 12-Dec-11
Maninder Kaur
It is used to hold the current instruction which the It interprets the instruction stored in instruction register.
microprocessor is about to execute.
It generates various machine cycles depending upon the
It is an 8-bit register. instruction.
The machine cycles are then given to the Timing and Control
Unit.
READY
Depending upon the machine cycles received from
Instruction Decoder, it generates 12 control signals: RESET IN
CLK OUT
ALE (Address Latch Enable).
HOLD and HLDA
www.eazynotes.com 4
Gursharan Singh 12-Dec-11
Maninder Kaur
It holds the address of top most item in the stack. This register is used to increment or decrement the value of
Stack Pointer.
It is also 16-bit register.
During PUSH operation, the value of Stack Pointer is
Any portion of memory can be used as stack. incremented.
The upper-byte of 16-bit address is stored in this latch. This is decided by ALE (Address Latch Enable) signal.
If ALE = 1 then
And then it is made available to the peripheral devices.
Address/Data Latch contains lower-byte of address.
If ALE = 0 then
It contains 8-bit data.
www.eazynotes.com 5
Gursharan Singh 12-Dec-11
Maninder Kaur
INTR
Gursharan Singh Gursharan Singh
31 www.eazynotes.com 12-Dec-11 32 www.eazynotes.com 12-Dec-11
Maninder Kaur Maninder Kaur
Interrupt controller receives these interrupts according to This unit provides +5V power supply to the microprocessor.
their priority and applies them to the microprocessor.
The microprocessor needs +5V power supply for its
There is one outgoing signal INTA which is called Interrupt operation.
Acknowledge.
Gursharan Singh
35 www.eazynotes.com 12-Dec-11
Maninder Kaur
www.eazynotes.com 6