FUNDAMENTALS OF COMPUTER

APPLICATION SYSTEM SOFTWARE

SYSTEMS SOFTWARE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
An Interrupt Service Routine can only be called ____
A
____ at the end of a fetch operation
B
____ at the start of a decode operation
C
____ at the start of an execute operation
D
____ at the end of an execute operation
Explanation: 

Detailed explanation-1: -An interrupt service routine (ISR) is a software routine that hardware invokes in response to an interrupt. ISR examines an interrupt and determines how to handle it executes the handling, and then returns a logical interrupt value. If no further handling is required the ISR notifies the kernel with a return value.

Detailed explanation-2: -Interrupts do not interrupt each other. The priority determines which interrupt handler get called first if more than one event happen at the same time or which event to service next if multiple interrupt events occur while in IRQ context.

Detailed explanation-3: -Explanation: In the interrupt service routine, all the other interrupts are disabled till the routine completes which can cause a problem if another interrupt is received and held pending.

Detailed explanation-4: -Whenever an interrupt occurs, the controller completes the execution of the current instruction and starts the execution of an Interrupt Service Routine (ISR) or Interrupt Handler. ISR tells the processor or controller what to do when the interrupt occurs.

There is 1 question to complete.