Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Develop an assembly program that computes the Fibonacci number series using 16-b

ID: 3819281 • Letter: D

Question

Develop an assembly program that computes the Fibonacci number series using 16-bit arithmetic. Print the numbers as they are computed. You should only use the assembly instructions covered in this module to implement the looping logic required for this program. Exit the loop once the range allowed by 16 bit numbers has been exceeded. The Fibonacci series is series of numbers in which each number (Fibonacci number) is the sum of the two preceding numbers. The simplest is the series 1, 1, 2, 3, 5, 8, etc. Use unsigned 16-bit integers to compute the numbers in the normal way as positive numbers. Then use 16-bit signed integers to compute the series in the negative direction. Your series should look like the following: -1, -1, -2, -3, -5, -8, etc. You should not use conditional directives for your work. You should also not use any instructions or directives that we have not covered so far in this course. Doing so would result in zero points for this assignment.

Explanation / Answer

Answer: