Hi guys i have problems with the codes that i got from a site.
this is the code
.model
.code
main proc
mov ah, 02
mov dl, 61h
start: sub dl,20h
int 21h
push dx
mov dl, 0AH
int 21h
pop dx
add dl, 20h
inc dl
cmp dl, 79H
jne start
int 20h
main endp
end
but when i ran the code on my pc it displayed many errors
<1> invalid model type
<2> model must be specified first
<5> code or data emission to undeclared segment
<18> near jump or call to different CS
somebody help me