Thursday, December 11, 2008

Display "HELLO WORLD" in Assembly

.model small
.stack 100h
.data
msg db "hello world$"
.code
start:

mov ax,@data
mov dx,ax

mov dx,offset msg
mov ah,09 h
int 21h

mov ax,4c00 h
int 21

end start

No comments: