Monday, 20 April 2020

List and briefly define two approaches to dealing with multiple interrupts.


Two approaches can be taken to deal with multiple interrupts.
Disabling interrupts:
Processor has the ability to and will ignore the specific interrupts.  Those interrupts remain pending and will be checked after the processor has enabled interrupts.
Interrupt service routine(ISR) :
Priorities assigned to the different types of interrupts.  Interrupt service routines with higher priorities can interrupt ones with lower priority, in which case the ISR with the lower priority is put on the stack until that ISR is completed.

No comments:

Post a Comment

thanks for comment :) this will answer after approval