| 数据搜索系统,热门电子元器件搜索 |
|
GXM 数据表(PDF) 77 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
GXM 数据表(HTML) 77 Page - National Semiconductor (TI) |
|
77 / 244 page ![]() Revision 3.1 77 www.national.com Processor Programming (Continued) 3.10.5 Exceptions in Real Mode Many of the exceptions described in Table 3-29 on page 75 are not applicable in real mode. Exceptions 10, 11, and 14 do not occur in real mode. Other exceptions have slightly different meanings in real mode as listed in Table 3-31. 3.10.6 Error Codes When operating in protected mode, the following exceptions generate a 16-bit error code: • Double Fault • Alignment Check •Invalid TSS • Segment Not Present •Stack Fault • General Protection Fault • Page Fault The error code format and bit definitions are shown in Table 3-32. Bits [15:3] (selector index) are not meaningful if the error code was generated as the result of a page fault. The error code is always zero for double faults and alignment check exceptions. Table 3-31. Exception Changes in Real Mode Vector Number Protected Mode Function Real Mode Function 8 Double fault. Interrupt table limit overrun. 10 Invalid TSS. Does not occur. 11 Segment not present. Does not occur. 12 Stack fault. SS segment limit overrun. 13 General protection fault. CS,DS, ES,FS, GS seg- ment limit overrun. In pro- tected mode, an error is pushed. In real mode, no error is pushed. 14 Page fault. Does not occur. Table 3-32. Error Codes 15 14 13 12 11 10 987 6543 2 1 0 Selector Index S2 S1 S0 Table 3-33. Error Code Bit Definitions Fault Type Selector Index (Bits 15:3) S2 (Bit 2) S1 (Bit 1) S0 (Bit 0) Page Fault Reserved. Fault caused by: 0 = Not present page 1 = Page-level protection violation Fault occurred during: 0 = Read access 1= Writeaccess Fault occurred during 0 = Supervisor access 1 = User access. IDT Fault Index of faulty IDT selector. Reserved 1 If = 1, exception occurred while trying to invoke exception or hardware interrupt handler. Segment Fault Index of faulty selector. TI bit of faulty selector 0 If =1, exception occurred while trying to invoke exception or hardware interrupt handler. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |