home *** CD-ROM | disk | FTP | other *** search
- public _ill_op
-
- assume cs:_TEXT
-
- _TEXT segment byte public 'CODE'
-
- ;**************************************************************************
- ; Function: ill_op ()
- ;
- ; Purpose: Catches invalid opcode exception and moves return
- ; ip to skip SMM instruction that caused exception.
- ;**************************************************************************
-
- _ill_op proc near
- pop ax
- add ax, 4
- push ax
- iret
- _ill_op endp
- _TEXT ends
-
- end
-
-