⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s09_07.htm

📁 Programmer s Reference Manual is an improtant book on Intel processor architecture and programming.
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><HTML><HEAD><TITLE>80386 Programmer's Reference Manual -- Section 9.7</TITLE></HEAD><BODY><B>up:</B> <A HREF="c09.htm">Chapter 9 -- Exceptions and Interrupts</A><BR><B>prev:</B> <A HREF="s09_06.htm">9.6  Interrupt Tasks and Interrupt Procedures</A><BR><B>next:</B> <A HREF="s09_08.htm">9.8  Exception Conditions</A><P><HR><P><H1>9.7  Error Code</H1>With exceptions that relate to a specific segment, the processor pushes anerror code onto the stack of the exception handler (whether procedure ortask). The error code has the format shown in <A HREF="#fig9-7">Figure 9-7</A>  . The format of theerror code resembles that of a selector; however, instead of an RPL field,the error code contains two one-bit items:<OL><LI> The processor sets the EXT bit if an event external to the programcaused the exception.<LI> The processor sets the I-bit (IDT-bit) if the index portion of theerror code refers to a gate descriptor in the IDT.</OL>If the I-bit is not set, the TI bit indicates whether the error code refersto the GDT (value 0) or to the LDT (value 1). The remaining 14 bits are theupper 14 bits of the segment selector involved. In some cases the error codeon the stack is null, i.e., all bits in the low-order word are zero.<P><A NAME="fig9-7"><IMG align=center SRC="fig9-7.gif" border=0><P><HR><P><B>up:</B> <A HREF="c09.htm">Chapter 9 -- Exceptions and Interrupts</A><BR><B>prev:</B> <A HREF="s09_06.htm">9.6  Interrupt Tasks and Interrupt Procedures</A><BR><B>next:</B> <A HREF="s09_08.htm">9.8  Exception Conditions</A></BODY>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -