You are on page 1of 7

Assembly Lab 2

Submitted to: Mr. Babar Ahmad


Submitted By: Muhammad Adnan
Roll No: MCSE-19-25
MCS (Evening)
3rd Semester

Department of Computer Science


Bahauddin Zakariya University Multan
Prog 1:
Write an assembly language program to print your
name.
The following program show the user name on the screen.
After linking and completing the execution of the program, it shows the
following output.
Prog 3
Print the following output on the command window using the
DUP Operator
*
**
***
****
*****

The following program display the above pattern on the screen


After linking and completing the execution of the program, it shows the
following output.
Prog 3:
Write the following message on the console using
(0Ah = line feed)
This
is
my
H.W

The following program display the above pattern on the screen.


After linking and completing the execution of the program, it shows the
following output.

You might also like