1-10 Vol. 3
ABOUT THIS MANUAL
1.3.7 Exceptions
An exception is an event that typically occurs when an instruction causes an error.
For example, an attempt to divide by zero generates an exception. However, some
exceptions, such as breakpoints, occur under other conditions. Some types of excep
-
tions may provide error codes. An error code reports additional information about the
error. An example of the notation used to show an exception and error code is shown
below:
#PF(fault code)
Figure 1-2. Syntax for CPUID, CR, and MSR Data Presentation
)RU&RQWURO5HJLVWHU9DOXHV
)RU0RGHO6SHFLILF5HJLVWHU9DOXHV
&38,'+(&;66(>ELW@
9DOXHRUUDQJHRIRXWSXW
6\QWD[5HSUHVHQWDWLRQIRU&38,',QSXWDQG2XWSXW
2XWSXWUHJLVWHUDQGIHDWXUHIODJRU
ILHOGQDPHZLWKELWSRVLWLRQV
&526);65>ELW@
)HDWXUHIODJRUILHOGQDPH
ZLWKELWSRVLWLRQV
9DOXHRUUDQJHRIRXWSXW
([DPSOH&5QDPH
)HDWXUHIODJRUILHOGQDPHZLWKELWSRVLWLRQV
,$B0,6&B(1$%/(6(1$%/()23&2'(>ELW@
9DOXHRUUDQJHRIRXWSXW
([DPSOH065QDPH
20
,QSXWYDOXHIRU($;GHILQHVRXWSXW
127(6RPHOHDYHVUHTXLUHLQSXWYDOXHVIRU
($;DQG(&;,IRQO\RQHYDOXHLVSUHVHQW
($;LVLPSOLHG