SlideShare a Scribd company logo
8085
MICROPROCESSORS
BY
MS.K.R.CHAIRMA LAKSHMI
ASSISTANT PROFESSOR
DEAPARTMENT OF ELECTRONCS AND INSTRUMENTATION ENGINEERING
R.M.K ENGINEERING COLLEGE
CONTENT
• Module 3: Interrupts
• HARDWARE INTERRUPTS
• SOFTWARE INTERRUPTS
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 2
MODULE 3:
INTERRRUPT
FIVE HARDWARE INTERRUPTS IN 8085
TRAP
RST 7.5
RST 6.5
RST 5.5
INTRCHAIRMA LAKSHMI K R AP/EIE/RMKEC 4
INTERRUPT
12
• It means interrupting the normal execution of the microprocessor.
• When microprocessor receives interrupt signal, it discontinues whatever it
was executing.
• It starts executing new program indicated by the interrupt signal.
• Interrupt signals are generated by external peripheral
devices.
• After execution of the new program, microprocessor goes back to the previous
program.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 5
SEQUENCE OF STEPS WHENEVER THERE
IS AN INTERRUPT
Microprocessor completes execution of current instruction of the
program.
PC contents are stored in stack.
PC is loaded with address of the new program.
After executing the new program, the microprocessor returns back to
the previous program.
It goes to the previous program by reading the top value of stack.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 6
FIVE HARDWARE INTERRUPTS IN 8085
TRAP
RST 7.5
RST 6.5
RST 5.5
INTRCHAIRMA LAKSHMI K R AP/EIE/RMKEC 7
CLASSIFICATION OF INTERRUPTS
Maskable and Non-Maskable
Vectored and Non-Vectored
Edge Triggered and Level Triggered
Priority Based Interrupts
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 8
MASKABLE INTERRUPTS
Maskable interrupts are those interrupts which can be
enabled or disabled.
Enabling and Disabling is done by software instructions.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 9
MASKABLE INTERRUPTS
List of Maskable Interrupts:
• RST 7.5
• RST 6.5
• RST 5.5
• INTRCHAIRMA LAKSHMI K R AP/EIE/RMKEC 10
NON-MASKABLE INTERRUPTS
The interrupts which are always in enabled mode are
called non- maskable interrupts.
These interrupts can never be disabled by any
software instruction.
TRAP is a non-maskable interrupt.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 11
VECTORED INTERRUPTS
The interrupts which have fixed memory location for
transfer of control from normal execution.
Each vectored interrupt points to the particular location in
memory.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 12
VECTORED INTERRUPTS
List of vectored interrupts:
• RST 7.5
• RST 6.5
• RST 5.5
• TRAPCHAIRMA LAKSHMI K R AP/EIE/RMKEC 13
VECTORED INTERRUPTS
The addresses to which program control goes:
Absolute address is calculated by multiplying the
RST value with 0008 H.
Other name for TRAP is RST 4.5
Name VectoredAddress
RST 7.5 003C H (7.5 x 0008 H)
RST 6.5 0034 H (6.5 x 0008 H)
RST 5.5 002C H (5.5 x 0008 H)
TRAP 0024 H (4.5 x 0008 H)
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 14
NON-VECTORED INTERRUPTS
The interrupts which don't have fixed memory location for
transfer of control from normal execution.
The address of the memory location is sent along with
the interrupt.
INTR is a non-vectored interrupt.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 15
EDGE TRIGGERED INTERRUPTS
The interrupts which are triggered at leading or trailing
edge are called edge triggered interrupts.
RST 7.5 is an edge triggered interrupt.
It is triggered during the leading (positive) edge.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 16
LEVEL TRIGGERED INTERRUPTS
The interrupts which are triggered at high or low
level are called level triggered interrupts.
RST 6.5
RST 5.5
INTR
TRAP is edge and level triggered interrupt.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 17
PRIORITY BASED INTERRUPTS
Whenever there exists a simultaneous request at two
or more pins then the pin with higher priority is
selected by the microprocessor.
Priority is considered only when there are simultaneous
requests.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 18
PRIORITY BASED INTERRUPTS
Priority of interrupts:
Interrupt Priority
TRAP 1
RST 7.5 2
RST 6.5 3
RST 5.5 4
INTR 5
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 19
TRAP
Pin 6 (Input)
It is an non-maskable interrupt.
It has the highest priority.
It cannot be disabled.
It is both edge and level triggered.
It means TRAP signal must go from low to high.
And must remain high for a certain period of
time.
TRAP is usually used for power failure and
emergency shutoff.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 20
RST 7.5
Pin 7 (Input)
It is a maskable interrupt.
It has the second highest
priority.
It is positive edge triggered
only.
The internal flip-flop is triggered by
the rising edge.
The flip-flop remains high until it is
cleared by RESET IN.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 21
RST 6.5
Pin 8 (Input)
It is a maskable interrupt.
It has the third highest priority.
It is level triggered only.
The pin has to be held high for a specific
period of time.
RST 6.5 can be enabled by EI
instruction.
It can be disabled by DI instruction.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 22
RST 5.5
Pin 9 (Input)
It is a maskable
interrupt.
It has the fourth highest
priority.
It is also level
triggered.
The pin has to be held high
for a specific period of time.
This interrupt is very similar
to RST 6.5.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 23
INTR
Pin 10 (Input)
It is a maskable interrupt.
It has the lowest priority.
It is also level triggered.
It is a general purpose interrupt.
By general purpose we mean that it
can be used to vector
microprocessor to any specific
subroutine having any address.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 24
INTA
Pin 11 (Output)
It stands for interrupt
acknowledge.
It is an out going signal.
It is an active low
signal.
Low output on this pin indicates
that microprocessor has
acknowledged the INTR request.
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 25
TYPES OF
INTERRUPT
INTERR
UPT
VECTOR
ADDRESS
MASKABLE / NON-
MASKABLE INTERRUPT
VECTOR / NON
VECTOR INTERRUPT
HARDWARE
INTERRUPT
TRAP
0024 Non-Maskable Interrupt Vector interrupt
RST7.5 003C Maskable Interrupt Vector interrupt
RST6.5 0034 Maskable Interrupt Vector interrupt
RST5.5 002C Maskable Interrupt Vector interrupt
INTR NON Maskable Interrupt Non Vector interrupt
SOFTWARE
INTERRUPT
RST0 0000 Non-Maskable Interrupt Vector interrupt
RST1 0008 Non-Maskable Interrupt Vector interrupt
RST2 0010 Non-Maskable Interrupt Vector interrupt
RST3 0018 Non-Maskable Interrupt Vector interrupt
RST4 0020 Non-Maskable Interrupt Vector interrupt
RST5 0028 Non-Maskable Interrupt Vector interrupt
RST6 0030 Non-Maskable Interrupt Vector interrupt
RST7 0038 Non-Maskable Interrupt Vector interrupt
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 26
OTHER MODULES
• Module 1: Introduction of 8085
• Module 2: Architecture of & Pinout diagram 8085
• Module 4: Data transfer Concepts
• Module 5: Timing Diagram
• Module 6: Memory Organization
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 27
THANK YOU
CHAIRMA LAKSHMI K R AP/EIE/RMKEC 28

More Related Content

PDF
EE8551 mpmc unit 1 module 6
PDF
EE8551 mpmc unit 1 module 5
PDF
EE8551 mpmc unit 1 module 1
PDF
EE8551 mpmc unit 1 8085 module 2
PDF
EE8551 mpmc unit 1 module 4
PPTX
27. 8259 programmable interrupt controller
PDF
21262738 8259a-programmable-interrupt-controller-2
DOCX
8259 programmable interrupt controller
EE8551 mpmc unit 1 module 6
EE8551 mpmc unit 1 module 5
EE8551 mpmc unit 1 module 1
EE8551 mpmc unit 1 8085 module 2
EE8551 mpmc unit 1 module 4
27. 8259 programmable interrupt controller
21262738 8259a-programmable-interrupt-controller-2
8259 programmable interrupt controller

What's hot (20)

PDF
Microprocessors 8085 pin diagram
PPT
PPT
8259 updated
PPT
8085 instruction-set part 1
DOCX
Basics of peripheral devices and Working
PPT
Interrupts
PDF
Microprocessors 8085 architecture
PPT
PPI-MECHATRONICS
PPTX
8255:ppi & 8259:pic
PDF
8155 PPI
PDF
8255 programable io
DOCX
Project
PPTX
PINDIAGRAM OF 8085 MICROPROCESSOR
PPTX
8251 USART
PPTX
B sc e5.2 mp unit 3 interfacing
PPTX
PDF
8259 Programmable Interrupt Controller
PDF
Serial communication in 8085
PPTX
Operation of 8255A
Microprocessors 8085 pin diagram
8259 updated
8085 instruction-set part 1
Basics of peripheral devices and Working
Interrupts
Microprocessors 8085 architecture
PPI-MECHATRONICS
8255:ppi & 8259:pic
8155 PPI
8255 programable io
Project
PINDIAGRAM OF 8085 MICROPROCESSOR
8251 USART
B sc e5.2 mp unit 3 interfacing
8259 Programmable Interrupt Controller
Serial communication in 8085
Operation of 8255A
Ad

Similar to EE8551 mpmc unit 1 module 3 (20)

PPT
Interruptsof8085
PPTX
Interrupts
PPTX
Interrupts of microprocessor 8085
PDF
ITFT_Interrupt
PPT
Pin diagram-of-8085
PPT
Interrupts
PPT
Interrupts
PPT
Interrupts
PPT
8085 interrupts
PDF
5a_8085 Interrupts & Direct Memory Access_pptx.pdf
PPTX
Presentation on Intel 8085 processor
PPTX
8085 interrupts
PPSX
Microprocessor Architecture 4
PPTX
Timing n interrupt.pptx
PPT
Introduction to Interrupts of 8085 microprocessor
PPT
8085 interrupts
PPTX
Interrupt 8085
PPT
Interrupt11
PDF
Microcontroller 8085.ppt mmmmmmmmmmmmmmmmmm
PPTX
Interrupt
Interruptsof8085
Interrupts
Interrupts of microprocessor 8085
ITFT_Interrupt
Pin diagram-of-8085
Interrupts
Interrupts
Interrupts
8085 interrupts
5a_8085 Interrupts & Direct Memory Access_pptx.pdf
Presentation on Intel 8085 processor
8085 interrupts
Microprocessor Architecture 4
Timing n interrupt.pptx
Introduction to Interrupts of 8085 microprocessor
8085 interrupts
Interrupt 8085
Interrupt11
Microcontroller 8085.ppt mmmmmmmmmmmmmmmmmm
Interrupt
Ad

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Lesson notes of climatology university.
PDF
Computing-Curriculum for Schools in Ghana
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Institutional Correction lecture only . . .
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Basic Mud Logging Guide for educational purpose
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Lesson notes of climatology university.
Computing-Curriculum for Schools in Ghana
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Complications of Minimal Access Surgery at WLH
VCE English Exam - Section C Student Revision Booklet
human mycosis Human fungal infections are called human mycosis..pptx
Anesthesia in Laparoscopic Surgery in India
O7-L3 Supply Chain Operations - ICLT Program
2.FourierTransform-ShortQuestionswithAnswers.pdf
Institutional Correction lecture only . . .
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Cell Types and Its function , kingdom of life
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Sports Quiz easy sports quiz sports quiz
Module 4: Burden of Disease Tutorial Slides S2 2025
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Basic Mud Logging Guide for educational purpose

EE8551 mpmc unit 1 module 3

  • 1. 8085 MICROPROCESSORS BY MS.K.R.CHAIRMA LAKSHMI ASSISTANT PROFESSOR DEAPARTMENT OF ELECTRONCS AND INSTRUMENTATION ENGINEERING R.M.K ENGINEERING COLLEGE
  • 2. CONTENT • Module 3: Interrupts • HARDWARE INTERRUPTS • SOFTWARE INTERRUPTS CHAIRMA LAKSHMI K R AP/EIE/RMKEC 2
  • 4. FIVE HARDWARE INTERRUPTS IN 8085 TRAP RST 7.5 RST 6.5 RST 5.5 INTRCHAIRMA LAKSHMI K R AP/EIE/RMKEC 4
  • 5. INTERRUPT 12 • It means interrupting the normal execution of the microprocessor. • When microprocessor receives interrupt signal, it discontinues whatever it was executing. • It starts executing new program indicated by the interrupt signal. • Interrupt signals are generated by external peripheral devices. • After execution of the new program, microprocessor goes back to the previous program. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 5
  • 6. SEQUENCE OF STEPS WHENEVER THERE IS AN INTERRUPT Microprocessor completes execution of current instruction of the program. PC contents are stored in stack. PC is loaded with address of the new program. After executing the new program, the microprocessor returns back to the previous program. It goes to the previous program by reading the top value of stack. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 6
  • 7. FIVE HARDWARE INTERRUPTS IN 8085 TRAP RST 7.5 RST 6.5 RST 5.5 INTRCHAIRMA LAKSHMI K R AP/EIE/RMKEC 7
  • 8. CLASSIFICATION OF INTERRUPTS Maskable and Non-Maskable Vectored and Non-Vectored Edge Triggered and Level Triggered Priority Based Interrupts CHAIRMA LAKSHMI K R AP/EIE/RMKEC 8
  • 9. MASKABLE INTERRUPTS Maskable interrupts are those interrupts which can be enabled or disabled. Enabling and Disabling is done by software instructions. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 9
  • 10. MASKABLE INTERRUPTS List of Maskable Interrupts: • RST 7.5 • RST 6.5 • RST 5.5 • INTRCHAIRMA LAKSHMI K R AP/EIE/RMKEC 10
  • 11. NON-MASKABLE INTERRUPTS The interrupts which are always in enabled mode are called non- maskable interrupts. These interrupts can never be disabled by any software instruction. TRAP is a non-maskable interrupt. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 11
  • 12. VECTORED INTERRUPTS The interrupts which have fixed memory location for transfer of control from normal execution. Each vectored interrupt points to the particular location in memory. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 12
  • 13. VECTORED INTERRUPTS List of vectored interrupts: • RST 7.5 • RST 6.5 • RST 5.5 • TRAPCHAIRMA LAKSHMI K R AP/EIE/RMKEC 13
  • 14. VECTORED INTERRUPTS The addresses to which program control goes: Absolute address is calculated by multiplying the RST value with 0008 H. Other name for TRAP is RST 4.5 Name VectoredAddress RST 7.5 003C H (7.5 x 0008 H) RST 6.5 0034 H (6.5 x 0008 H) RST 5.5 002C H (5.5 x 0008 H) TRAP 0024 H (4.5 x 0008 H) CHAIRMA LAKSHMI K R AP/EIE/RMKEC 14
  • 15. NON-VECTORED INTERRUPTS The interrupts which don't have fixed memory location for transfer of control from normal execution. The address of the memory location is sent along with the interrupt. INTR is a non-vectored interrupt. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 15
  • 16. EDGE TRIGGERED INTERRUPTS The interrupts which are triggered at leading or trailing edge are called edge triggered interrupts. RST 7.5 is an edge triggered interrupt. It is triggered during the leading (positive) edge. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 16
  • 17. LEVEL TRIGGERED INTERRUPTS The interrupts which are triggered at high or low level are called level triggered interrupts. RST 6.5 RST 5.5 INTR TRAP is edge and level triggered interrupt. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 17
  • 18. PRIORITY BASED INTERRUPTS Whenever there exists a simultaneous request at two or more pins then the pin with higher priority is selected by the microprocessor. Priority is considered only when there are simultaneous requests. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 18
  • 19. PRIORITY BASED INTERRUPTS Priority of interrupts: Interrupt Priority TRAP 1 RST 7.5 2 RST 6.5 3 RST 5.5 4 INTR 5 CHAIRMA LAKSHMI K R AP/EIE/RMKEC 19
  • 20. TRAP Pin 6 (Input) It is an non-maskable interrupt. It has the highest priority. It cannot be disabled. It is both edge and level triggered. It means TRAP signal must go from low to high. And must remain high for a certain period of time. TRAP is usually used for power failure and emergency shutoff. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 20
  • 21. RST 7.5 Pin 7 (Input) It is a maskable interrupt. It has the second highest priority. It is positive edge triggered only. The internal flip-flop is triggered by the rising edge. The flip-flop remains high until it is cleared by RESET IN. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 21
  • 22. RST 6.5 Pin 8 (Input) It is a maskable interrupt. It has the third highest priority. It is level triggered only. The pin has to be held high for a specific period of time. RST 6.5 can be enabled by EI instruction. It can be disabled by DI instruction. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 22
  • 23. RST 5.5 Pin 9 (Input) It is a maskable interrupt. It has the fourth highest priority. It is also level triggered. The pin has to be held high for a specific period of time. This interrupt is very similar to RST 6.5. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 23
  • 24. INTR Pin 10 (Input) It is a maskable interrupt. It has the lowest priority. It is also level triggered. It is a general purpose interrupt. By general purpose we mean that it can be used to vector microprocessor to any specific subroutine having any address. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 24
  • 25. INTA Pin 11 (Output) It stands for interrupt acknowledge. It is an out going signal. It is an active low signal. Low output on this pin indicates that microprocessor has acknowledged the INTR request. CHAIRMA LAKSHMI K R AP/EIE/RMKEC 25
  • 26. TYPES OF INTERRUPT INTERR UPT VECTOR ADDRESS MASKABLE / NON- MASKABLE INTERRUPT VECTOR / NON VECTOR INTERRUPT HARDWARE INTERRUPT TRAP 0024 Non-Maskable Interrupt Vector interrupt RST7.5 003C Maskable Interrupt Vector interrupt RST6.5 0034 Maskable Interrupt Vector interrupt RST5.5 002C Maskable Interrupt Vector interrupt INTR NON Maskable Interrupt Non Vector interrupt SOFTWARE INTERRUPT RST0 0000 Non-Maskable Interrupt Vector interrupt RST1 0008 Non-Maskable Interrupt Vector interrupt RST2 0010 Non-Maskable Interrupt Vector interrupt RST3 0018 Non-Maskable Interrupt Vector interrupt RST4 0020 Non-Maskable Interrupt Vector interrupt RST5 0028 Non-Maskable Interrupt Vector interrupt RST6 0030 Non-Maskable Interrupt Vector interrupt RST7 0038 Non-Maskable Interrupt Vector interrupt CHAIRMA LAKSHMI K R AP/EIE/RMKEC 26
  • 27. OTHER MODULES • Module 1: Introduction of 8085 • Module 2: Architecture of & Pinout diagram 8085 • Module 4: Data transfer Concepts • Module 5: Timing Diagram • Module 6: Memory Organization CHAIRMA LAKSHMI K R AP/EIE/RMKEC 27
  • 28. THANK YOU CHAIRMA LAKSHMI K R AP/EIE/RMKEC 28