home *** CD-ROM | disk | FTP | other *** search
- ;***************************************************************************
- ; EG1.ASM The calssic program that prints 'Hello World'
- ;
- ;
- ;***************************************************************************
-
- .386
- .model flat
- .stack 1000h
- .code
-
-
- Message DB 'Hello World....',10,13,36
-
- My_program: ; Start of program
-
-
- mov edx,Offset Message ; DS:EDX -> string to print
- mov ah,9
- int 21h
-
- mov ax,4C00h ; Termiate the program
- int 21h
-
-
- ;db 100000000 dup (?)
-
- ;db 0
-
- end My_program ; define stating address