Starting from:

$24.99

Homework 4: ARM sim#

Assignment # 4
1. In this assignment you will learn how to write assembly code and use the ARM sim#
to test run your code. ARM Sim# is also available for download for Windows and MACs
at (http://armsim.cs.uvic.ca/).
Implement functions in assembly language. You are asked to write a program to
compute the Fibonacci numbers, using recursive function calls.
Fib (n) {
if (n == 0 || n == 1) return 1;
else return Fib(n-2) + Fib(n-1);
}
Note that your program has to use recursive function calls; you cannot convert the
function into an iterative version first and then write a program implementing the
iterative version. Test run your program on the ARM Sim#

More products