Metropoli BBS
VIEWER: eg0.asm MODE: TEXT (ASCII)
;***************************************************************************
; 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 256                                      ; 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                               ; with exit code 0




END  My_program                                 ; define starting address

Now, that didn't hurt... did it?
[ RETURN TO DIRECTORY ]