Hello Im fairly new to assembly.
Here is my problem. I have to write a simple ARM program to add a few numbers and print the sum. I am able to do that. But according to the instructor we need a C wrapper to print the sum. here is what he gave us to help:
For the homework, you can use a 'c' wrapper to print the output. So a typical c program will look like the following. So if sum5, is your program, the c code would look like this.
x = sum5();
printf("The answer is %d
the problem is we haven't done any C programming yet, only java.
so we have tried many things but cannot get the "wrapper" to compile.
we have emailed him and posted on the class message board asking for clarification but he keeps just posting similar code.