In the Fibonacci number sequence, the first 10 of which are given below, each number is
is equal to the sum of two numbers. The first two numbers are equal to one.
1, 1, 2, 3, 5, 8, 13, 21, 34, 55,…
FIB_NUM variable defined below gives the number of fibonacci to be calculated. First FIB_NUM
Write the assembly code that records the number of fibonacci numbers into the FIB_LIST variable.
Data must be in DB type. If required, you can define other variables.
FIB_NUM DB 10
FIB_LIST DB 50 DUP (?)
At the end of the program you wrote for the above variable values, FIB_LIST
The first 10 bytes of field of the variable should be as follows.
FIB_LIST: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55
1
Expert's answer
2020-12-21T05:04:39-0500
Dear tom, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment