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


Total Marks: 20

Semester Fall 2015 Due Date:
Computer Architecture and Assembly Language 09 December, 2015
Programming– CS401


The assignment has been designed to enhance your knowledge about how to write assembly program using



Please read the following instructions carefully before solving & submitting assignment:

1. The assignment will not be accepted after due date.

2. Assignment will not be accepted via email.

3. Zero marks will be awarded to the assignment that does not open or the file is corrupt.

4. The assignment file must be in MS word (.doc) file format; Assignment will not be accepted in any other format.

5. Zero marks will be awarded to the assignment if copied (from other student or copied from handouts or internet).

For any query about the assignment, contact only at CS401@vu.edu.pk

Do not post queries related to assignment on MDB.


Question: [20 Marks]

Write an assembly language code to calculate the factorial of 8 using a subroutine and store the result in AX register. Then you will display final result on screen.

Note: Before displaying number on screen, clear the screen.

Explain each instruction of program and also provide/paste snapshot of your assembled and debugged program result which will be run in AFD (A Full Screen Debugger) window showing the executed code final results.

(Program:15 marks Snapshot: 5 marks )

Note: You will not be able to display the number on screen in Windows so you will have to use the DOSBOX

DOSBOX Installation guide.



+ 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: 13151


+ 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

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

you can use "mul" instruction for multiplication. and "ret" for routine.

it's  just idea how to find factorial

ßlëëdïňğ Hëàrť Thanks for sharing 

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....




do not copy past, just take idea and try to do you own work,,,

WARNNING: In case of copy past it will not execute...:):)

you type this code in which page??  it is not notepad

its programmer's notepad :)

Please send me cs401 Assignment solution

please tell about this in assignment file

Note: Before displaying number on screen, clear the screen.


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

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