mov dx,Text ; DS:DX points to message
mov ah,9 ; function 9 - display string
int 21h ; all dos service
mov ax,4C00h ; exit to dos
int 21h
Text db "This is some text.$"
A little problem with assembly
it looks like your missing a zero (asm doesn't terminate your strings for you) but I doubt that is what's causing your problem.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement