home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / TASMSWAN.ZIP / COMSHELL.ASM < prev    next >
Assembly Source File  |  1989-07-10  |  400b  |  30 lines

  1. %TITLE "Shell for *.COM files"
  2.  
  3.     IDEAL
  4.     DOSSEG
  5.     MODEL    tiny
  6.  
  7. ;----- Insert INCLUDE "filename" directives here
  8.  
  9. ;----- Insert EQU and = equates here
  10.  
  11.     DATASEG
  12.  
  13. exitCode    DB    0
  14.  
  15. ;-  IF you want more detailed comments buy the book
  16.  
  17.     CODESEG
  18.  
  19.     ORG    100h
  20.  
  21. Start:
  22. ;--- Insert program, subroutine calls, etc...  here
  23.  
  24. Exit:
  25.     mov    ax,04C00h
  26.     mov    al,[exitCode]
  27.     int     21h
  28.  
  29.     End     Start
  30.