home *** CD-ROM | disk | FTP | other *** search
/ 98 Driver Collection MD-0164 / DRIVER_KING_98.iso / CPU / cyrix / BAD_OP.ASM < prev    next >
Encoding:
Assembly Source File  |  1993-04-02  |  514 b   |  24 lines

  1. public _ill_op
  2.  
  3. assume  cs:_TEXT
  4.  
  5. _TEXT   segment byte public 'CODE'
  6.  
  7. ;**************************************************************************    
  8. ;       Function:    ill_op ()
  9. ;
  10. ;       Purpose:        Catches invalid opcode exception and moves return
  11. ;                       ip to skip SMM instruction that caused exception.
  12. ;**************************************************************************
  13.  
  14. _ill_op proc near
  15.     pop   ax
  16.     add   ax, 4
  17.     push  ax
  18.     iret
  19. _ill_op endp
  20. _TEXT   ends
  21.  
  22. end
  23.  
  24.