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