home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
PROGRAM
/
DIVERSEN
/
DOS32V3B
/
EXAMPLES
/
EG0.ASM
next >
Wrap
Assembly Source File
|
1995-03-12
|
1KB
|
30 lines
;***************************************************************************
; 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
END My_program ; define starting address
Now, that didn't hurt... did it?