Exceptions
Exceptions as described in this article are generated by the CPU when an 'error' occurs. Some exceptions are not really errors in most cases, such as page faults.
Exceptions are classified as:
- Faults: These can be corrected and the program may continue as if nothing happend.
- Traps: Traps are reported immediately after the execution of the trapping instruction.
- Aborts: Some severe unrecoverable error.
Name | Vector nr. | Type | Mnemonic | Error code? |
---|---|---|---|---|
Divide-by-zero Error | 0 | Fault | #DE | No |
Debug | 1 | Fault/Trap | #DB | No |
Non-maskable Interrupt | 2 | Interrupt | #NMI | No |
Breakpoint | 3 | Trap | #BP | No |
Overflow | 3 | Trap | #OF | No |