How intel architecture handles interrupts.
Let’s see how x86 interrupts work. Interrupts There are three types of interrupts: Exceptions: synchronous with program execution. Exemple: division by zero or invalid address access. hardware interrupts: asynchronous with program execution. They are generated by devices external to the CPU. Exemple: key pressed software interrupts: synchronous with program execution. They are generated by x86 instructions such as int or syscall. Exemple: int 0x80 - syscall [Read More]