home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / proglc / tnylib.lzh / EXIT.ASM < prev    next >
Encoding:
Assembly Source File  |  1986-08-30  |  529 b   |  26 lines

  1. include compiler.inc
  2.     ttl    EXIT, 1.03, 07-29-86 clr
  3.  
  4. ;---------------------------- C Source File-----------------------------;
  5. ;                                    ;
  6. ; /* quick and dirty exit() function until full version can be done    ;
  7. ;  */                                    ;
  8. ;                                    ;
  9. ; exit(exvl) int exvl;                            ;
  10. ; { _exit(exvl);                            ;
  11. ; }                                    ;
  12. ;                                    ;
  13. ;--------------------------end of C Source File-------------------------;
  14.  
  15.     dseg
  16.     cseg
  17.     extf    _exit
  18.  
  19.     procdef exit, <<exvl, word>>
  20.  
  21.     callit    _exit <<exvl,word>>
  22.  
  23.     pret
  24.     pend    exit
  25.     finish
  26.