home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / PROGRAM / DIVERSEN / DOS32V3B / EXAMPLES / EG0.ASM next >
Assembly Source File  |  1995-03-12  |  1KB  |  30 lines

  1. ;***************************************************************************
  2. ; EG0.ASM             A program that does absolutly nothing
  3. ;              Just a demonstration on how to set up a basic ASM file.
  4. ;
  5. ;***************************************************************************
  6.  
  7. .386
  8.  
  9. .MODEL FLAT                                      ; Define segments.
  10.  
  11. .STACK 1000h                                    ; Define initial stack.
  12.  
  13. .CODE                                           ; Define a segment for our
  14.                                                 ;  code. Note: it doesn't
  15.                                                 ;  matter what sort of
  16.                                                 ;  segment we use.
  17.  
  18.  
  19. My_program:                                     ; Start of program
  20.  
  21.  
  22.         mov   ax,4C00h                          ; Termiate the program
  23.         int   21h
  24.  
  25.  
  26.  
  27. END  My_program                                 ; define starting address
  28.  
  29. Now, that didn't hurt... did it?
  30.