|
An exception is a forced transition from normal program execution to a specialized procedure, called a handler, which processes the exception. An exception is raised (occurs) when the CPU encounters an error condition during program execution. Each exception is assigned an error code or vector number. For example, if the CPU encounters a divide by 0, exception 0 is raised. For a complete discussion of exception handling, see Volume 3: Architecture and Programming of the PentiumĀ® Processor Family Developer's Manual.
NOTE: All discussions of system exception handling in this section assume that RTSS applications do not use Structured Exception Handling (SEH). For information, see C++ and Structured Exception Handling.
Topics: