I am very much a rookie. I am sure this is very basic but I have gone over this a number of times. I am trying to get my program to display a string on two different lines. This is a .com program and I am using A86 compiler. This is for HW and i am not trying to cheat or anything like that because I really want to know what I am doing wrong.
jmp start ; This will start the program
;============================
msg db "Hello Word.$" ; A string variable
msg db "Michael J. Crawley$" ; A string variable with a value.
;============================
start:
mov ah,09 ; subfunction 9 output a string
mov dx,offset msg ; DX for the string
int 21h ; Output the message
int 21h ; Output the message
exit:
mov ah,4ch
mov al,00 ; Exit code
int 21h ; End program