.MODEL small
.STACK 100h ; defines a stack 100h (256) bytes long
.DATA
String DB "Hello World!",'$' ; variable declaration
.CODE
Start: mov dx,offset String ; point dx to the storage location for the first character
mov ah,9 ; dos function for string output
int 21h
Stop: mov ax,4C00h ;exit dos
int 21h
END Start
The output of this program is:
I♦K☺I♦V☺I♦I♦☺☺☺ ☻ <♣Φ ë♣¶ ↑ w♣ ♣ ═!╦
║♀ ┤ ═!╕ L═!Hello World!
What am I missing here?Can anyone help me?