Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Dos Protected Mode Interface - <b>get processor exception handler vector</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        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.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson