Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A . In mathematics, the Fibonacci numbers, commonly denoted Fn form a sequence, called the Fibonacci sequence, such that each number is the sum of

A. In mathematics, the Fibonacci numbers, commonly denoted Fn form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones, starting from 0 and 1. That is,{\displaystyle F_{0}=0,\quad F_{1}=1,} and {\displaystyle F_{n}=F_{n-1}+F_{n-2},} for n >1. One has F2=1. In some books, and particularly in old ones, F0, the "0" is omitted, and the Fibonacci sequence starts with F1= F2=1. The beginning of the sequence is thus: {\displaystyle (0,)\;1,\;1,\;2,\;3,\;5,\;8,\;13,\;21,\;34,\;55,\;89,\;144,\;\ldots }(Links to an external site.) The Fibonacci spiral: an approximation of the golden spiral created by drawing circular arcs connecting the opposite corners of squares in the Fibonacci tiling; this one uses squares of sizes 1,1,2,3,5,8,13 and 21. Fibonacci numbers are named after Italian mathematician Leonardo of Pisa, later known as Fibonacci. They appear to have first arisen as early as 200 BC in work by Pingala (Links to an external site.) on enumerating possible patterns of poetry formed from syllables of two lengths.
B. Main: Use commands to prompt the user for a value to produce that number of Fibonacci numbers. (Look at the read and write commands) This will be sent to the procedure. Once the procedure is done, use WriteInt to show the values of the array. (Use 47 as the value on one of the runs. It should have a final value of 2,971,215,073)
C. Procedure: The point is to create a Fibonacci sequence and store it in an array. The procedure should receive a pointer to an array of doubleword where the Fibonacci sequence can be stored as well as a counter of the number of values to generate.
Use Assembly x86
Part A just talks about using the Fibonacci sequence. We are suppose to create an assembly x86 program that asks the user fo the nth number in the Fib sequence to print out.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions