SlideShare ist ein Scribd-Unternehmen logo
1 von 8
PRESENTATION
     ON

 INTERRUPTS
INTERRUPTS
It is an unexpected hardware initiated subroutine call or
jump that temporarily suspends the running of the
current program.

Interrupt is a process where an external device can get
the attention of the microprocessor.
    Initiation of I/O operation.
    Completion of I/O operation.

An interrupt may be either:
 Edge Sensitive
 Level Sensitive
CATEGORIES OF INTERRUPTS
Maskable Interrupts.

Non-Maskable Interrupts.

Vectored Interrupts.

Non-Vectored Interrupts.
TYPES OF INTERRUPTS
External Interrupt.

Internal Interrupt.

Software Interrupt.

Hardware Interrupt.
USES OF INTERRUPTS
Input/Output data transfers for peripheral
devices.

Emergency situations like power down.

Input signals to be used for timing purposes.

Event driven programs.

Real time response applications and in
multitasking system.
INTERRUPT CONTROLLED I/O TRANSFERS
 It is an asynchronous mechanism.
 Each device is connected to an interrupt line.
 When it needs service, it asserts the interrupt
 line to request the processors attention.
 The status of being executed must first be saved
 & it will be saved on stack
 If one or more device is connected to the
 interrupt line, the processor ends to know which
 device service routine it should branch to.
 The identification of the device requesting
 service can be done in either hardware or
 software or a combination of both.
INTERRUPT CONTROLLED I/O TRANSFERS
 Software Determination of the Requesting Device.
    Enable Interrupts.
    Request an Interrupt.
    Servicing the Interrupt.
    Returning to main program.

 Interrupt Latency & Interrupt Response Time.

 Interrupt Latency.

 Interrupt Response Time.
INTERRUPT CYCLE
In this cycle, CPU has to check for an interrupt
each time an instruction is executed.

The interrupt enable flip-flop IEN can be set &
cleared with two instructions namely ION & IOF.
        ION: Interrupts Enable On.
        IOF: Interrupts Enable Off.

When IEN=0, Flag can’t interrupt computer.

When IEN=1,Flag can interrupt computer.

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Interrupt
InterruptInterrupt
Interrupt
 
Ch12 microprocessor interrupts
Ch12 microprocessor interruptsCh12 microprocessor interrupts
Ch12 microprocessor interrupts
 
Interrupts
InterruptsInterrupts
Interrupts
 
Interrupts of 8085
Interrupts of 8085Interrupts of 8085
Interrupts of 8085
 
Interrupts in 8085
Interrupts in 8085Interrupts in 8085
Interrupts in 8085
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organization
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
Addressing sequencing
Addressing sequencingAddressing sequencing
Addressing sequencing
 
Interrupt presentaion
Interrupt presentaionInterrupt presentaion
Interrupt presentaion
 
Register introduction
Register introductionRegister introduction
Register introduction
 
Computer instruction
Computer instructionComputer instruction
Computer instruction
 
Interrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.kInterrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.k
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
Instruction pipeline: Computer Architecture
Instruction pipeline: Computer ArchitectureInstruction pipeline: Computer Architecture
Instruction pipeline: Computer Architecture
 
Memory mapped I/O and Isolated I/O
Memory mapped I/O and Isolated I/OMemory mapped I/O and Isolated I/O
Memory mapped I/O and Isolated I/O
 
Input output interface
Input output interfaceInput output interface
Input output interface
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 

Ähnlich wie Interrupts

Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003Swathi Veeradhi
 
420214730-15cs34-module-2-pptx.pptx
420214730-15cs34-module-2-pptx.pptx420214730-15cs34-module-2-pptx.pptx
420214730-15cs34-module-2-pptx.pptxddscraft123
 
Computer architecture presentation
Computer architecture presentationComputer architecture presentation
Computer architecture presentationMuhammad Hamza
 
Device drivers and interrupt service mechanism
Device drivers and interrupt service mechanismDevice drivers and interrupt service mechanism
Device drivers and interrupt service mechanismVijay Kumar
 
interrupt .pptx
interrupt .pptxinterrupt .pptx
interrupt .pptxxsuvra
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncrEdhole.com
 
Mca admission in india
Mca admission in indiaMca admission in india
Mca admission in indiaEdhole.com
 
Interrupt in real time system
Interrupt in real time system Interrupt in real time system
Interrupt in real time system ali jawad
 
Functions of the Operating System
Functions of the Operating SystemFunctions of the Operating System
Functions of the Operating Systemandyr91
 
Micro controller 8051 Interrupts
Micro controller 8051 InterruptsMicro controller 8051 Interrupts
Micro controller 8051 Interruptsdharmesh nakum
 
Computer organization
Computer organizationComputer organization
Computer organizationRvishnupriya2
 
Computer organization
Computer organization Computer organization
Computer organization vishnu973656
 

Ähnlich wie Interrupts (20)

Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003
 
Interrupts in CPU
Interrupts in CPUInterrupts in CPU
Interrupts in CPU
 
Interrupt 8085
Interrupt 8085Interrupt 8085
Interrupt 8085
 
IO organization.ppt
IO organization.pptIO organization.ppt
IO organization.ppt
 
420214730-15cs34-module-2-pptx.pptx
420214730-15cs34-module-2-pptx.pptx420214730-15cs34-module-2-pptx.pptx
420214730-15cs34-module-2-pptx.pptx
 
Computer architecture presentation
Computer architecture presentationComputer architecture presentation
Computer architecture presentation
 
IO hardware
IO hardwareIO hardware
IO hardware
 
Device drivers and interrupt service mechanism
Device drivers and interrupt service mechanismDevice drivers and interrupt service mechanism
Device drivers and interrupt service mechanism
 
interrupt .pptx
interrupt .pptxinterrupt .pptx
interrupt .pptx
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
Mca admission in india
Mca admission in indiaMca admission in india
Mca admission in india
 
Io pro
Io proIo pro
Io pro
 
Interrupt in real time system
Interrupt in real time system Interrupt in real time system
Interrupt in real time system
 
Io pro
Io proIo pro
Io pro
 
Interrupts of 8086
Interrupts of 8086Interrupts of 8086
Interrupts of 8086
 
Functions of the Operating System
Functions of the Operating SystemFunctions of the Operating System
Functions of the Operating System
 
Micro controller 8051 Interrupts
Micro controller 8051 InterruptsMicro controller 8051 Interrupts
Micro controller 8051 Interrupts
 
MODES OF TRANSFER.pptx
MODES OF TRANSFER.pptxMODES OF TRANSFER.pptx
MODES OF TRANSFER.pptx
 
Computer organization
Computer organizationComputer organization
Computer organization
 
Computer organization
Computer organization Computer organization
Computer organization
 

Mehr von Punjab College Of Technical Education (10)

Blue brain
Blue brainBlue brain
Blue brain
 
Intel
IntelIntel
Intel
 
CMS
CMSCMS
CMS
 
Saas (1)
Saas (1)Saas (1)
Saas (1)
 
Database fragmentation
Database fragmentationDatabase fragmentation
Database fragmentation
 
Privatisation
PrivatisationPrivatisation
Privatisation
 
Smart cards
Smart cards Smart cards
Smart cards
 
Virtual memory ppt
Virtual memory pptVirtual memory ppt
Virtual memory ppt
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Walt disney
Walt disneyWalt disney
Walt disney
 

Kürzlich hochgeladen

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 

Kürzlich hochgeladen (20)

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

Interrupts

  • 1. PRESENTATION ON INTERRUPTS
  • 2. INTERRUPTS It is an unexpected hardware initiated subroutine call or jump that temporarily suspends the running of the current program. Interrupt is a process where an external device can get the attention of the microprocessor. Initiation of I/O operation. Completion of I/O operation. An interrupt may be either: Edge Sensitive Level Sensitive
  • 3. CATEGORIES OF INTERRUPTS Maskable Interrupts. Non-Maskable Interrupts. Vectored Interrupts. Non-Vectored Interrupts.
  • 4. TYPES OF INTERRUPTS External Interrupt. Internal Interrupt. Software Interrupt. Hardware Interrupt.
  • 5. USES OF INTERRUPTS Input/Output data transfers for peripheral devices. Emergency situations like power down. Input signals to be used for timing purposes. Event driven programs. Real time response applications and in multitasking system.
  • 6. INTERRUPT CONTROLLED I/O TRANSFERS It is an asynchronous mechanism. Each device is connected to an interrupt line. When it needs service, it asserts the interrupt line to request the processors attention. The status of being executed must first be saved & it will be saved on stack If one or more device is connected to the interrupt line, the processor ends to know which device service routine it should branch to. The identification of the device requesting service can be done in either hardware or software or a combination of both.
  • 7. INTERRUPT CONTROLLED I/O TRANSFERS Software Determination of the Requesting Device. Enable Interrupts. Request an Interrupt. Servicing the Interrupt. Returning to main program. Interrupt Latency & Interrupt Response Time. Interrupt Latency. Interrupt Response Time.
  • 8. INTERRUPT CYCLE In this cycle, CPU has to check for an interrupt each time an instruction is executed. The interrupt enable flip-flop IEN can be set & cleared with two instructions namely ION & IOF. ION: Interrupts Enable On. IOF: Interrupts Enable Off. When IEN=0, Flag can’t interrupt computer. When IEN=1,Flag can interrupt computer.