Answered You can hire a professional tutor to get the answer.

QUESTION

Create an HLA Assembly language program that prompts for a number from the user. Create and call a function that calculates a value in the Fibonacci sequence.  In mathematics, the Fibonacci sequence

Create an HLA Assembly language program that prompts for a number from the user. Create and call a function that calculates a value in the Fibonacci sequence.  In mathematics, the Fibonacci sequence is named after the Italian mathematician Leonardo of Pisa who was known during his lifetime as Fibonacci.  The Fibonacci sequence starts with 1 and 1.  Each later term in the sequence is the sum of the two previous values.  So the series will be: 1,1,2,3,5,8,13 and so on.  In order to receive full credit, you must use recursion to solve this problem building a function whose signature is:

procedure fibRec( value : int8 ); @nodisplay; @noframe; 

Here are some example program dialogues to guide your efforts:

Provide a number: 3fib(3) = 2

Provide a letter: 5fib(5) = 5

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question