A simple Hello World ASM Code Snippet


title Display Hello World (hello.asm)


.model small
.stack 100h


.data
message db "hello world",'$'


.code


mov ax,@data
mov ds,ax


mov ah,9
mov dx,offset message
int 21h


mov ax,4c00h
int 21h



main endp


end main

07 February 2009 © APO Networks • Designed for Vista