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

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + 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

Assignment No.2 write- up updated CS401 Computer Architecture and Assembly Language Programming

 Question: 1                                                                                                                                        [20 Marks]  Write a program using a recursive function to calculate the Fibonacci of the last digit of your VU roll number, i.e.  If you roll number is BC123456789 you will calculate the Fibonacci of 9. The calculated Fibonacci number is returned in the AX register. A local variable should be used to store the return value from the first recursive call. Fibonacci function is defined as follow Fibonacci(0) = 0 Fibonacci(1) = 1 Fibonacci(n) = Fibonacci(n-1)+ Fibonacci(n-2)   Explain each instruction of program in comments 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 and final result i.e. value in AX.  Note: You will only use subroutine to solve the above problem. Marks will not be awarded for using any other approach.  Note 1: keep name of assembly file according to your VU id , i.e. if your VU id is BC123456789 , you will  keep name of the assembly code file as 23456789.asm i.e. you will use last 8 digits of your id for the code file name.  Note 2: If the arrays, files names in the screen shots will not be according to your VU id you will get zero marks.  Note 3: In solution file you will paste the Assembly code and screen shots.  Note 4 : You will only use NASM assembler. Rest of output snapshots are same as previously provided in assignment file.

+ 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?

Views: 1328

.

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

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

Replies to This Discussion

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. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

&

.... How to Find Your Subject Study Group & Join ....

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

Any one please discuss or share idea of solution.

Latest Activity

princess, Nasir Ali, Muhammad Usama and 4 more joined Virtual University of Pakistan
7 minutes ago
17 minutes ago
22 minutes ago
22 minutes ago
imran replied to Aftab Nazir's discussion Assignment # 1 mth 101 30 dec 19 in the group MTH101 Calculus And Analytical Geometry
24 minutes ago
26 minutes ago
26 minutes ago
38 minutes ago
38 minutes ago
40 minutes ago
مخلص posted a discussion

1 hour ago

1

2