Ask Question
31 January, 14:33

Why cli and sti instructions are used during hooking aninterrupt?

+1
Answers (1)
  1. 31 January, 18:08
    0
    Answer: Cli (Clear interrupt flag) and sti (set interrupt flag) instructions are used for clearing the flag and setting or enabling a flag respectively while hooking an interrupt.

    Explanation: During the action of hooking an interrupt, there are certain interruptions while changing of real time interrupt vector and to avoid those interruptions two instructions are used that is cli ans sli. Cli is present for the clearing or disabling the interrupt flag and sti is used for setting or enabling a interrupt flag.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Why cli and sti instructions are used during hooking aninterrupt? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers