Open main menu

CDOT Wiki β

Changes

Computer Architecture

93 bytes added, 14:37, 25 January 2018
Interrupts and Exceptions
Software interrupts are similar to hardware interrupts, but are triggered by a specific instruction. x86, ARM, and PPC processors use software interrupts to invoke system calls.
 
An interrupt handler typically runs at a higher privilege level than a regular application.
Exceptions (or ''traps'') are similar to interrupts, but are triggered by event occurrences within the processor. These exceptions cause code within the operating system to be executed to handle the event. Events which will trigger an exception include: