An Assembly Language program to print a string
An Assembly Language program to print a string "DaPrimitive Soource" on the screen. (USE: string output function)
♣ Try it out ::
.model small
.stack 100h
.data
msg db "DaPrimitive Soource",'$'
.code
main proc
mov ax,@data
mov ds,ax
mov ah,9
mov dx, offset msg
int 21h
mov ah, 4ch
int 21h
main endp
end main
♣ Sample Output ::
DaPrimitive Soource