Hi, I don't remember why (but I will let you know). but you need to code it like this.
jmp start ; Add this line.
string db "Hello World.$"
start: ; Add this line.
mov ax,seg string
mov ds,ax
mov dx,OFFSET string
mov ah,09h
int 21h
mov ax,4c00h
int 21h Rod