Question: Please use in visual studios (.asm files) COMP 2033, Spring 2018 Homework2 Instructor: Dr. Ahmed A. Ahmed Due: 03/20/2018 at 11:55 PM (sharp!) Marks: 100

Please use in visual studios (.asm files)  Please use in visual studios (.asm files) COMP 2033, Spring 2018

COMP 2033, Spring 2018 Homework2 Instructor: Dr. Ahmed A. Ahmed Due: 03/20/2018 at 11:55 PM (sharp!) Marks: 100 points Submission Instructions: 1. Upload your.asm files to eCourse in a zip file 2. Please include a readme file that has (i) your name and student ID; and (ii) detailed instructions on how to run your programs. 3. Must receive instructor's approval in advance if an alternative time and method of submission becomes necessary. Solve each of the following problems. To receive full marks on your documentation, you should have excellent internal documentation (i.e., appropriate comments, but also choice of variable names), as well as excellent external documentation (i.e., in the readme.txt file as described previously) [70 points] Write an assembly program to compute the nth number in the Fibonacci series The first and second Fibonacci numbers are 0 and 1, respectively. Every subsequent Fibonacci numbers are the sum of the previous two Fibonacci numbers. For example, the third Fibonacci number is 1 (ie., 0 + 1), the fourth is 2 (ie., l +1), the fifth is 3 (i.e., l+2), and so on. The program must use a loop to compute Fibonacci numbers and display their values on the screen. Display the first 10, 15 and 20 numbers as test cases 1. [30 points] Extend your solution to Problem 1 so that instead of displaying the list in the increasing order, the program shows the Fibonacci numbers in reverse order. Particularly, after constructing the original list, initialize another list with the same size in which y build the contents of this list from the original one in the reverse order. 2. ou

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!