Mail Archives: djgpp/1998/08/16/23:16:30
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
- Raw text -