Write an ARM assembly program that will generate the first 20 numbers in the Fib
ID: 3594413 • Letter: W
Question
Write an ARM assembly program that will generate the first 20 numbers in the Fibonacci series and place them in a 20-element word array located at address 0x40000000. You program must use a loop and some form of indirect addressing. See http://en.wikipedia.org/wiki/Fibonacci_number#List_of_Fibonacci_numbers for additional information on Fibonacci numbers.Your program must also count the number of odd Fibonacci numbers that were generated. Store the ‘odd’ count at address 0x40000050.
Use a hexadecimal calculator to verify that your results are correct. Be sure to comment your program well. Code begins at 0x00000000 ARM7TDM.