Question: Assume the register rl holds - / while another register r 2 holds + 2 0 for which both values are represented with the 2
Assume the register rl holds while another register r holds for which both values are represented with the s complement scheme, a student enrolled in ELEC wrote the following ARM instructions to perform the index outof bounds check for register r
CMP rlr;
BGE IndexOutOfBounds;
Which of the following suggestions is correct about the above ARM instructions to perform the relevant check for register rl
A the first instruction should be revised as CMP rr;;
B the second instruction should be revised as RE IndexOutOfBounds;;
C the second instruction IndexOutOfBound;s;
D the second instruction IndexOutOfBounds;
E none of the above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
