delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/29/20:30:44

From: Michael Castle <mcastle AT umr DOT edu>
Subject: Re: problem using X00 utility with djgcc
To: kok AT CS DOT ColoState DOT EDU (jan kok)
Date: Tue, 29 Mar 1994 18:44:58 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> 
> What is exception 13 (are where are the exception numbers documented?)

General Protection Fault, Intel's Microprocessor and Peripheral Handbook.


heck... while I'm at it:


#     Name                          Instruction that can cause exception

0     Divide Error                | DIV, IDIV
1     Debug Exception             | any instruction
2     NMI Interrupt               | INT 2 or NMI
3     One Byte Interrupt          | INT
4     Interrupt on Overflow       | INTO 
5     Array Bounds Check          | BOUND
6     Invalid OP-Code             | Any illegal instruction
7     Device Not Available        | ESC, WAIT
8     Double Fault                | Any inst than can gen an exception
9     Coprocessor Segment Overrun | ESC
10    Invalid TSS                 | JMP, CALL, IRET, INT
11    Segment Not Present         | Segment Register Instructions
12    Stack Fault                 | Stack References
13    General Protection Fault    | Any Memory Reference
14    Page Fault                  | Any Memory Access or Code Fetch
16    Coprocessor Error           | ESC, WAIT
17-32 Reserved                    |
0-255 Two Byte Interrupt          | INT n

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019