• Sub:COA
• Topic name: Different Types Of Interrupt
• Prepared by:
Parmar Bhavesh (150083116007)
Interrupts
• When a Process is executed by the CPU and when a
user Request for another Process then this will create
disturbance for the Running Process. This is also called
as the Interrupt.
What is an Interrupt?
• Interrupt is a signal which has highest priority from hardware
or software which processor should process its signal
immediately.
Types of Interrupts:
• Hardware Interrupt
• Software Interrupt
Hardware Interrupt
Hardware Interrupt are used by the CPU to
interact with input/output devices(such as
keyboard and mouse).
• Hardware Interrupt improve system
performance by allowing the CPU to execute
instructions, instead of just waiting for the
I/O device, while still performing the
required data transfers.
• Maskable Interrupts:-
• An Interrupt that can be disabled or ignored by the instructions
of CPU are called as Maskable Interrupt.
Eg: RST6.5,RST7.5,RST5.5 OF 8085 are maskable Interrupts.
• Non-Maskable Interrupts:-
• An interrupt that cannot be disabled or ignored by the
instructions of CPU are called as Non-Maskable Interrupt.
Eg:TRAP of 8085
Software Interrupt
• The Software Interrupts are those which are
made some call to the System for Example
while we are Processing Some Instructions
and when we wants to Execute one more
Application Programs.
Purpose of Interrupts
• The Microprocessor can serve several devices.
• There are two ways to offer service: Interrupts and
Polling.
• The advantage of interrupts is that the
microprocessor can serve many devices (not all at
the same time)each device can get the attention of
the microprocessor based on the priority assigned
to it.
• The polling method cannot assign priority because
it checks all devices in a round-robin fashion.
Cont.…..
• More importantly, in the interrupt method the
microprocessor can also ignore (mask) a
device request for service.
• This is not possible with the polling method.
Inerrupt

Inerrupt

  • 1.
    • Sub:COA • Topicname: Different Types Of Interrupt • Prepared by: Parmar Bhavesh (150083116007)
  • 2.
    Interrupts • When aProcess is executed by the CPU and when a user Request for another Process then this will create disturbance for the Running Process. This is also called as the Interrupt. What is an Interrupt? • Interrupt is a signal which has highest priority from hardware or software which processor should process its signal immediately.
  • 3.
    Types of Interrupts: •Hardware Interrupt • Software Interrupt
  • 4.
    Hardware Interrupt Hardware Interruptare used by the CPU to interact with input/output devices(such as keyboard and mouse). • Hardware Interrupt improve system performance by allowing the CPU to execute instructions, instead of just waiting for the I/O device, while still performing the required data transfers.
  • 5.
    • Maskable Interrupts:- •An Interrupt that can be disabled or ignored by the instructions of CPU are called as Maskable Interrupt. Eg: RST6.5,RST7.5,RST5.5 OF 8085 are maskable Interrupts. • Non-Maskable Interrupts:- • An interrupt that cannot be disabled or ignored by the instructions of CPU are called as Non-Maskable Interrupt. Eg:TRAP of 8085
  • 6.
    Software Interrupt • TheSoftware Interrupts are those which are made some call to the System for Example while we are Processing Some Instructions and when we wants to Execute one more Application Programs.
  • 7.
    Purpose of Interrupts •The Microprocessor can serve several devices. • There are two ways to offer service: Interrupts and Polling. • The advantage of interrupts is that the microprocessor can serve many devices (not all at the same time)each device can get the attention of the microprocessor based on the priority assigned to it. • The polling method cannot assign priority because it checks all devices in a round-robin fashion.
  • 8.
    Cont.….. • More importantly,in the interrupt method the microprocessor can also ignore (mask) a device request for service. • This is not possible with the polling method.