Professional Documents
Culture Documents
.data
msg1 db "Name : ZulqarnainHaider$"
msg2 db 0ah,0dh,"Rollno : 22201002-026$"
msg3 db 0ah,0dh,"Program : BSCS 3rd(blue)$"
.code
main proc
mov ax,@data
mov ds,ax ;ds is a data holding register
mov dx,offset msg1
mov ah,09
int 21h
mov dx,offset msg2
mov ah,09
int 21h
mov dx,offset msg3
mov ah,09
int 21h
mov ah,4ch
int 21h
ret
Result: