Using function call 09h

;PROGRAM TO DISPLAY A STRING USING FUNCTION CALL 09H

data segment

string db 'Microprocessors','$'

count equ 15

data ends

code segment

assume ds:data, cs:code

start:

mov ax,data

mov ds,ax

lea di,string

mov ah,09h

int 21h

mov ah,4ch

int 21h

int 3

code ends

end start

No comments:

Post a Comment