DATA SEGMENT
MSG DB "INDIA IS GREAT"
TEN EQU $-MSG
DATA ENDS
CODE SEGMENT
START: ASSUME CS:CODE,DS:DATA
MOV AX,DATA
MOV DS,AX
MOV SI,OFFSET MSG
MOV CS,LEN
LP1: MOV AH,02H
MOV DI,[SI]
INT 21H
INC SI
LOOP LP1.CX=CX-1,CX=/0
MOV AH,4CH
INT 21H
CODE ENDS
END START