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

Please write it in WinMips64 code please!! Fibonacci numbers are: 0, 1, 1, 2, 3,

ID: 3792973 • Letter: P

Question

Please write it in WinMips64 code please!!

Fibonacci numbers are: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, etc i.e. two consecutive numbers are added to generate the next number. If the user enters 6, then the display should be 0, 1, 1, 2, 3, 5 i.e. 6 Fibonacci numbers should be displayed. Generate the numbers and display it. The sample C code is: #include main () {int x, y, z, num, count; printf ("Enter the number of Fibonacci numbers > 2: "); scanf ("%d", #); x = 0; y = 1; count - 2; printf ("The numbers are: ">; printf("%d %d ", x, y); while(count

Explanation / Answer

Assembly code converting c code into WinMips64 is: