Interrupts explicitly generated when a processor executes a designated…

2012

Interrupts explicitly generated when a processor executes a designated interrupt instruction are called:

Answer: D. Software interruptConceptAn interrupt transfers processor control to an interrupt service routine after a defined trigger occurs. In source-based terminology, device and timer…

  1. A.

    I/O interrupt

  2. B.

    Timer interrupt

  3. C.

    Power-failure interrupt

  4. D.

    Software interrupt

Attempted by 50 students.

Show answer & explanation

Correct answer: D

Concept

An interrupt transfers processor control to an interrupt service routine after a defined trigger occurs.

In source-based terminology, device and timer events come from hardware, while executing a designated interrupt instruction generates a software interrupt synchronously.

Application

The stem fixes the trigger as execution of a designated interrupt instruction. This is an instruction-generated event, not a request from an I/O controller, timer, or power monitor.

Contrast

  • An I/O interrupt originates from an input/output controller requesting service for a peripheral.

  • A timer interrupt originates from a hardware timer reaching a programmed condition.

  • A power-failure interrupt originates from hardware that detects an electrical supply fault.

  • A software interrupt originates from execution of a designated interrupt or system-call instruction.

Result

Therefore, an interrupt explicitly generated by executing such an instruction is a software interrupt.

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…