SlideShare une entreprise Scribd logo
1  sur  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.

Contenu connexe

Tendances

instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
sheetal singh
 
Dma transfer
Dma transferDma transfer
Dma transfer
gmnithya
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-bus
Anuj Modi
 

Tendances (20)

Interrupts
InterruptsInterrupts
Interrupts
 
Interrupts
Interrupts Interrupts
Interrupts
 
Interrupts
InterruptsInterrupts
Interrupts
 
Interrupt
InterruptInterrupt
Interrupt
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
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
 
Dma transfer
Dma transferDma transfer
Dma transfer
 
Logical and shift micro operations
Logical and shift micro operationsLogical and shift micro operations
Logical and shift micro operations
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-bus
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
 
Ch12 microprocessor interrupts
Ch12 microprocessor interruptsCh12 microprocessor interrupts
Ch12 microprocessor interrupts
 
Computer Organization : CPU, Memory and I/O organization
Computer Organization : CPU, Memory and I/O organizationComputer Organization : CPU, Memory and I/O organization
Computer Organization : CPU, Memory and I/O organization
 
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
 
Interrupts
InterruptsInterrupts
Interrupts
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 

Similaire à Interrupts

420214730-15cs34-module-2-pptx.pptx
420214730-15cs34-module-2-pptx.pptx420214730-15cs34-module-2-pptx.pptx
420214730-15cs34-module-2-pptx.pptx
ddscraft123
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organization
chidabdu
 
MODES OF TRANSFER.pptx
MODES OF TRANSFER.pptxMODES OF TRANSFER.pptx
MODES OF TRANSFER.pptx
22X047SHRISANJAYM
 

Similaire à 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
 
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
 

Plus 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
 

Dernier

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
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
QucHHunhnh
 

Dernier (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 

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.