My first assembly program

Bismillahir Rahmanir Rahim
Solution:

data segment
msg db "My first assembly program. $"
data ENDs
stack segment
db 100 Dup(0)
stack ENDs
code segment
Assume cs:code,ds:data,ss:stack
start:
 mov ax,seg data
 mov ds,ax
 mov ax,seg stack
 mov ss,ax

 mov dx,offset msg
 mov ah,09h
 int 21h

 mov ax,4c00h
 int 21h

code ENDs
End start

Socializer Widget By Blogger Yard
SOCIALIZE IT →
FOLLOW US →
SHARE IT →