We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 2
Semester Fall 2018
Computer Architecture and Assembly Language Programming
Total Marks: 15
Due Date: 29th Jan 2019
Question: [15 Marks]
Write a TSR program that will print first letter of your Name on the screen (upper left corner). The letter will
be printed when you will press that letter on keyboard and how many times it will be printed depends on the
last digit of your VUID.
 Let’s say your name is Muhammad Usman, and your VUID is BC123456789. You will write code in
such a way that if you press M (first letter of name), then M will be printed on the screen, nine times
(which is the last digit of VUID)
 As another example, let’s say your name is Ali Raza, and your VUID is BC987654321. You will write
code in such a way that if you press A (first letter of name), then A will be printed on the screen, one
time (which is the last digit of VUID)
 If last digit of your VUID is zero, then you’ll print first letter of your name ten times
 You will use DOSBox to compile and execute your code
 Keep name of assembly file according to last eight digits of your VUID. For example, if your VUID is
BC123456789, you will keep name of the assembly code file as 23456789.asm
What to submit:
Your solution must be in a single Word file (DOC or DOCX) containing the following:
1) Complete code written in Word file
2) First screenshot that will show the command to compile the code
3) Second screenshot that will show the final output
Sample Output screenshots:
Suppose that student name is Umair Mujahid and VUID is BC125555554 and file name is assign.asmScreenshot of Compilation step:
Final output screenshot will be like this:
NOTE: If the file name in the screenshots will not be according to your VUID, you will get zero marks.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 744


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Replies to This Discussion


© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service