Date: Mon, 17 Aug 1998 02:50:21 +0000 ( ) From: "Gurunandan R. Bhat" To: djgpp AT delorie DOT com Subject: Stack of a exception handler Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Greetings, The stack of an exception handler (src/libc/go32/exceptn.s) is given as: [ * | SS ] [ ESP ] [ EFLAGS ] [ * | CS ] [ EIP ] [ ERR CODE ] [ * |RET CS*] [ RET EIP* ] [ EXCEPTION # ] While the first six dwords (starting from SS) are pushed by the CPU, and EXCEPTION # is pushed by the handler, who pushes RET CS* and RET EIP*. If CS:EIP is the location in the application code segment where the exception occurs, what location does RET-CS:RET-EIP represent? Many thanks. Gurunandan