For all the questions in this assignment, you should use conditional execution of branch instructions only (i.e., do not use conditional execution of data processing instruction or other non-branch instructions).
Question #1 .
For each of the following C++-like pseudo code segments, write equivalent ARM assembly language instructions.
{
r2 = r2 - r1;
}
r2 = r2 + 60;
r4 = r4 + 100;
else
r4 = 100 - r4;
r5 = r5 + 80;
else if (r5 <>
r5 = r5 - 40;
else if (r5 != r8)
r5 = -r5;
r5 = 9*r5;
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here