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

  1. include compiler.inc
  2.  
  3.     ttl    CROOT, 1.03, 07-30-86 clr
  4.  
  5. ;    Aztec version of _main -- parses command line
  6.  
  7. dseg
  8.     public    cls__
  9. cls__ equ this word
  10.     dd noper_
  11. cseg
  12.     xtfs    <exit,_exit,main>
  13.  
  14. procdef noper
  15.     xor ax,ax
  16.     pret
  17.     pend    noper
  18.  
  19. procdef    Croot
  20.     callit    main
  21.     xor ax,ax
  22.     callit    exit,<<ax,reg>>
  23.     pret
  24.     pend    Croot
  25.  
  26. ;procdef    exit,<<retval,word>>
  27. ;    callit    _exit,<<retval,word>>
  28. ;    pret
  29. ;    pend    exit
  30.  
  31. finish
  32.