Microprocessors
Microprocessors
ANDHRA PRADESH
Name : A. Usha Rani
Designation : Lecturer
Branch : Electronics & Communication Engg.
Institute : GPT for Women, Bheemunipatnam
Year/Semester : IV Semester
Subject : Microprocessors
Subject code : CM 405
Topic : Interrupts and Assembly Language
Programming
Duration : 100 minutes
Subtopic : Interrupt And Its Need, Classification
Of Interrupts, Sources Of Interrupt
Teaching Aids : PPT
Revised by :K.Srikanth,Lecturer,GPT, Nizamabad
9CM405.26TO27 1
Objectives
• Classification of interrupts
9CM405.26TO27 2
What Is An Interrupt ?
9CM405.26TO27 3
Need For Interrupt
OR
9CM405.26TO27 5
• Interrupts are useful for efficient data transfer between
processor and peripheral
9CM405.26TO27 6
What Microprocessor Will Do When Interrupt
Comes ?
• On receiving the interrupt signal, microprocessor stops
the current program execution
9CM405.26TO27 7
Classification Of Interrupts
• Hardware interrupts
• Software interrupts
9CM405.26TO27 8
Hardware interrupts
9CM405.26TO27 9
Software Interrupts
9CM405.26TO27 10
According to the starting address of Interrupt
service
• Vectored interrupts
• Non-Vectored interrupts
9CM405.26TO27 11
Vectored Interrupt
9CM405.26TO27 12
Non- Vectored Interrupts
9CM405.26TO27 13
According to the ability to accept interrupt
request
• Maskable interrupts
• Non-Maskable interrupts
9CM405.26TO27 14
Maskable Interrupts
Ex : INTR of 8086
9CM405.26TO27 15
Non- maskable interrupts
Ex : NMI of 8086
9CM405.26TO27 16
Vector address
9CM405.26TO27 17
Enabling And Disabling The Interrupts
9CM405.26TO27 18
Summary
We have discussed about
• What is an Interrupt
• Its need
• Classification based on different factors
9CM405.26TO27 19
Quiz
1. Interrupt is useful for
9CM405.26TO27 20
2. Maskable Interrupt means
9CM405.26TO27 21
3. Hard ware Interrupt means
9CM405.26TO27 22
4. In 8086, Interrupt can come from
9CM405.26TO27 23
Frequently asked questions
1. What is an Interrupt? Explain its need
9CM405.26TO27 24
9CM405.26TO27 25