printstring macro msg;
mov ah, 09h;
mov dx, offset msg;
int 21h;
endm;
data segment;
cr equ 0dh;
lf equ 0ah;
msg1 db 'Hello Guys',cf,lf,'$'
msg2 db 'My Name is Harsh', cr,lf,'$'
data ends;
code segment;
assume cs:code,ds:data;
start:
mov ax,data;
mov ds,ax;
printstring msg1;
printstring msg2;
mov ah,4ch;
mov al,00h;
int 21h;
code ends
end start
