Question: Assembly language programming Programming assignment 1 Write a program to calculate the Nth number in the Fibonacci Sequence. You may use the any of the
Assembly language programming
Programming assignment 1
Write a program to calculate the Nth number in the Fibonacci Sequence. You may use the any of the frameworks provided on blackboard in the frameworks zip(windows 32). If you use console 32 or console 64 the correct number must be placed in the EAX register before you move 0 into EAX to return from the procedure. The N to select which number in the sequence to calculate must be declared in the data segment for console 32 and console 64 applications. Submissions that use the Windows 32 or Windows 64 to ask the user for N and display the output will receive an addition 4 bonus points.
here is a sample to show you how the programming language looks like:

; program to find sum 1+2+. . .+n for n-l, 2, . . . 586 .MODEL FLAT STACK 4096 DATA CODE PROC mov mov main ebx, 0 eax, 0 ; number- 0 forever: inc add ebx eax, ebX forever ; add 1 to number ; add number to sum ; repeat main ENDP END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
