SlideShare uma empresa Scribd logo
1 de 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.

Mais conteúdo relacionado

Mais procurados

Memory Management C++ (Peeling operator new() and delete())
Memory Management C++ (Peeling operator new() and delete())Memory Management C++ (Peeling operator new() and delete())
Memory Management C++ (Peeling operator new() and delete())Sameer Rathoud
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulationSanjeev Patel
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipeliningMazin Alwaaly
 
Function overloading(c++)
Function overloading(c++)Function overloading(c++)
Function overloading(c++)Ritika Sharma
 
INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORGurudev joshi
 
Interfacing With High Level Programming Language
Interfacing With High Level Programming Language Interfacing With High Level Programming Language
Interfacing With High Level Programming Language .AIR UNIVERSITY ISLAMABAD
 
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.kVijay Kumar
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output OrganizationKamal Acharya
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its typesNehal Naik
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-busAnuj Modi
 
Stack organization
Stack organizationStack organization
Stack organizationchauhankapil
 

Mais procurados (20)

Interrupt presentaion
Interrupt presentaionInterrupt presentaion
Interrupt presentaion
 
Memory Management C++ (Peeling operator new() and delete())
Memory Management C++ (Peeling operator new() and delete())Memory Management C++ (Peeling operator new() and delete())
Memory Management C++ (Peeling operator new() and delete())
 
Interrupts ppt
Interrupts pptInterrupts ppt
Interrupts ppt
 
Interrupts of 8086
Interrupts of 8086Interrupts of 8086
Interrupts of 8086
 
DMA and DMA controller
DMA and DMA controllerDMA and DMA controller
DMA and DMA controller
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipelining
 
Function overloading(c++)
Function overloading(c++)Function overloading(c++)
Function overloading(c++)
 
Instruction format
Instruction formatInstruction format
Instruction format
 
INTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSORINTERRUPTS OF 8086 MICROPROCESSOR
INTERRUPTS OF 8086 MICROPROCESSOR
 
Interrupt
InterruptInterrupt
Interrupt
 
Interfacing With High Level Programming Language
Interfacing With High Level Programming Language Interfacing With High Level Programming Language
Interfacing With High Level Programming Language
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
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
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-bus
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Stack organization
Stack organizationStack organization
Stack organization
 

Semelhante a 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
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organizationchidabdu
 
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
 

Semelhante a Interrupts (20)

Interrupts in 8085
Interrupts in 8085Interrupts in 8085
Interrupts in 8085
 
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
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organization
 
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
 
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
 

Mais de 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
 

Último

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
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
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
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
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 

Último (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
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"
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
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
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
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
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
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
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
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"
 

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.