home *** CD-ROM | disk | FTP | other *** search
/ Groovy Bytes: Behind the Moon / groovybytes.iso / GROOVY / SND_TOOL / FUNK108A.ZIP / DOS32V30.ZIP / EXAMPLES / EG0.ASM < prev    next >
Encoding:
Assembly Source File  |  1995-04-23  |  1.0 KB  |  32 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. db 0
  28.  
  29. END  My_program                                 ; define starting address
  30.  
  31. Now, that didn't hurt... did it?
  32.