Question
The purpose of this assignment is to get you used to: 1. navigating the Linux environment; 2. compiling code using gcc; and 3. exposure to
The purpose of this assignment is to get you used to:
1. navigating the Linux environment;
2. compiling code using gcc; and
3. exposure to ARM assembly code This is test.c #include
int test(int n)
{
return (n % 10);
}
int main(int argc, char *argv[]) {
int i = 294;
printf("The digit in the ones place of %d is %d ", i, test(i));
return 0;
} Laboratory Assignment 1 This assignment is intended to get you started with the ARM assembly language. What you should do: 1. Compile test.c with the GNU C Compiler using the following command (see lecture video for help): gcc -S
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started