Question: 4. (20 points) Load and Store Suppose re exFFFF, FFFF r2 0x0000 ,0000, and initially flags N (negative), Z (zero), c (carry), and V (overflow)

 4. (20 points) Load and Store Suppose re exFFFF, FFFF r2

4. (20 points) Load and Store Suppose re exFFFF, FFFF r2 0x0000 ,0000, and initially flags N (negative), Z (zero), c (carry), and V (overflow) are zero. Find out the value of N, z, C, and V flags after running the following instructions. (Assume each in is executed independently, i.e., these instructions are not part of a program.) ADD r3, re, r2 SUBS r3, re, r ADDS re, re, ri LSL r, re, #1 LSRS r3, r1, #1 ANDS r3, re,r2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!