PREPARE TWO VARIABLES MSG1 HAVING "HELLO" & MSG2 HAVING "WORLD" & DISPLAY THESE STRINGS LIKE "HELLO $ WORLD".
DATA SEGMENT MSG1 DB "HELLO$" MSG2 DB "WORLD$" DATA ENDS CODE SEGMENT START: ASSUME CS:CODE,DS:DATA MOV AX,DATA MOV DS,AX MOV AH,09H MOV DX,OFFSET MSG1 INT 21H MOV AH,02H MOV DX,OFFSET MSG2 INT 21H MOV AH,4CH INT 21H CODE ENDS END START