Write an assembly language program to display a string10 times in different line using macro.
Experiment
Name:
Write an assembly language program to display a string10 times in different
line using macro.
Objective:
(i)
To
know about several command in the Assembly language.
(ii)
Input
a Character.
(iii)
Output
a Character.
Source
code:
.model small
.stack
.data
A db “Welcome to assembly language
programming”,0dh,0ah, “$”
.code
Main proc
Mov
ax, @data
Mov
ds,ax
Mov
bx,5
Sm:
Lea
dx, a
Mov
ah, 09h
Int
21h
Inc
dl
Dec
bx
Jnzsm
Mov
ah, 4ch
Int
21h
Main endp
End main
Input/output:
aaaaaaaaaa
No comments
Dear Members, Thanks for Your Comments. We must be reply your comment answer as soon as possible. Please Stay with us.....