All Exams Test series for 1 year @ ₹349 only
Question

A CPU handles interrupt by executing interrupt service subroutine __________.

This question was previously asked in
UGC NET 2015 Paper 1 Question Paper (27-Dec-2015)
The correct answer is

by checking interrupt register after execution of each instruction

A processor never abandons an instruction midway; it samples the interrupt request line or register only at an instruction boundary.

So after completing the current instruction (end of its execute phase) it checks for pending interrupts and, if one is set, branches to the service routine.

Checking at the end of fetch would leave instructions half done, reacting the instant an interrupt is registered has the same problem, and periodic polling is not how hardware interrupts work.

Hence, by checking interrupt register after execution of each instruction.

Was this answer helpful?

Similar Questions

  1. Which of the following is the correct sequence with regard to service routine?

    A. Save contents of processor registers

    B. Turn the interrupt facility on

    C. Service the device whose flag is set

    D. Check which flag is set

    E. Restore contents of processor registers

    Choose the correct answer from the options given below:


Important Questions from Program Interrupt

  1. Suppose a program is running on a non-pipelined single processor computer system. The computer is connected to an external device that can interrupt the processor asynchronously. The processor needs to execute the interrupt service routine (ISR) to serve this interrupt. The following steps (not necessarily in order) are taken by the processor when the interrupt arrives:

    (i) The processor saves the content of the program counter.
    (ii) The program counter is loaded with the start address of the ISR.
    (iii) The processor finishes the present instruction.

    Which ONE of the following is the CORRECT sequence of steps?

  2. The register in the 8085A that is used to keep track of the memory address of the next op-code to be run in the program is the-

  3. Disabling an interrupt is known as ______.

  4. Which is not true about an interrupt

  5. Match List-I with List-II

    List I

    List II

    a.

    Micro operation

    i.

    Specify micro operations

    b.

    Micro programmed control unit

    ii.

    Improve CPU utilization

    c.

    Interrupts

    iii.

    Control Memory

    d.

    Micro instruction

    iv.

    Elementary operation performed on data stored in registers

    Choose the correct option from those given below:

Need Expert Advice?
Upcoming Exams
TSTET
November 16, 2026
CTET
December 12, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) 2026 Mock Test Series
796 Tests 2 Tests Free
110 Attempts
4.4(41)
English
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App