home *** CD-ROM | disk | FTP | other *** search
- ;***************************************************************************
- ; EG0.ASM A program that does absolutly nothing
- ; Just a demonstration on how to set up a basic ASM file.
- ;
- ;***************************************************************************
-
- .386
-
- .MODEL FLAT ; Define segments.
-
- .STACK 1000h ; Define initial stack.
-
- .CODE ; Define a segment for our
- ; code. Note: it doesn't
- ; matter what sort of
- ; segment we use.
-
-
- My_program: ; Start of program
-
-
- mov ax,4C00h ; Termiate the program
- int 21h
-
-
-
- db 0
-
- END My_program ; define starting address
-
- Now, that didn't hurt... did it?