.model small
.stack
.data
message db "This is hello world!!", "$"
.code
main proc far
mov ax,@data
mov ds,ax
mov ah,02
mov dh,10 ;(cursor position) sets row
mov dl,20 ;(cursor positon) sets column
mov bh,0 ;frst page
int 10h
mov ah,06
mov al,0
mov bh,96h ;sets background and foreground color
mov cx,0
mov dx,184fh
int 10h
lea dx,message
mov ah,09
int 21h
mov ah,4ch
int 21h
main endp
end main