Get Processor Exception Handler Vector


This function returns the CS:(E)IP of the current
protected mode exception handler for the specified
exception number.

To Call

AX = 0202h
BL = Exception/fault number (00h-1Fh)

Returns

If function was successful:
Carry flag is clear.
CX:(E)DX = Selector:Offset of exception handler

If function was not successful:
Carry flag is set.
The value passed in BL was invalid.

Programmer's Notes

o The value returned in CX is a valid protected mode
selector, not a real mode segment.
o 32-bit mode programs will be returned a 32-bit
offset in the EDX register.