Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

TITLE MASM Template INCLUDE Irvine32.inc You are to ask the user for a number from 5 - 20. You will then do the Fibonacci sequence

TITLE MASM Template INCLUDE Irvine32.inc

You are to ask the user for a number from 5 - 20.

You will then do the Fibonacci sequence up to that number.

You may need to research the Fibonacci sequence first.

Example:

Please enter a number from 5 - 20: 10

0, 1, 1, 2, 3, 5, 8, 13, 21, 34

Note, the user typed 10, so it shows the first 10 numbers of the sequence.

The initial numbers the computer should start with are the 0 and the 1 at the start. It will then use a LOOP to complete the rest of the numbers.

Programs which do not have a loop will receive a zero. Hint: loops start with the key word Loop.

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

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions