Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
The difference between hardware interrupts and software interrupts
Question: Is there a difference between the way hardware interrupts and software interrupts are processed?
Yes, there is a difference. When a hardware interrupt occurs, all interrupts are disabled and registers are pushed onto the stack. A hardware interrupt routine requires a ?sti? instruction before returning. However, a software interrupt is handled just like a call routine. The difference between a regular CALL to a routine and a software INT instruction is that creating a software interrupt gives us a static handle to the routine.