Synchronous and Asynchronous exception


The following table describes different types of exceptions using the categories above:
Exception typeSynchronous vs. asynchronousUser request vs. coercedUser maskable vs. nonmaskableWithin vs. between instructionsResume vs. terminate
I/O device requestAsynchronousCoercedNonmaskableBetweenResume
Invoke operating systemSynchronousUser requestNonmaskableBetweenResume
Tracing instruction executionSynchronousUser requestUser maskableBetweenResume
BreakpointSynchronousUser requestUser maskableBetweenResume
Integer arithmetic overflowSynchronousCoercedUser maskableWithinResume
Floating-point arithmetic overflow or underflowSynchronousCoercedUser maskableWithinResume
Page faultSynchronousCoercedNonmaskableWithinResume
Misaligned memory accessesSynchronousCoercedUser maskableWithinResume
Memory protection violationSynchronousCoercedNonmaskableWithinResume
Using undefined instructionSynchronousCoercedNonmaskableWithinTerminate
Hardware malfunctionAsynchronousCoercedNonmaskableWithinTerminate
Power failureAsynchronousCoercedNonmaskableWithinTerminate
Synchronous, coerced exceptions occurring within instructions that can be resumed are the most difficult to implement.

Comments

Popular posts from this blog

Umbrella activities in Software Engineering

Operating System | Best Definition of Opetating System