Question: From exam paper 2 0 2 1 - 2 2 Q 3 ( b ) Assume that the following registers initially hold the values given:

From exam paper 2021-22 Q3(b)
Assume that the following registers initially hold the values given:
}{2B07F9}
r5: 0x60F27D62
r15: 0x00004042
Find the values held in registers r0,r1,r2,r3 and r15 after the
following ARM Cortex M0 instructions are executed sequencially.
i) SUBS r1, r2, r1
ii) ANDS r2, r4
iii) ADDS r3, r4, r5
iv) LSLS r0, r0, #0x07
 From exam paper 2021-22 Q3(b) Assume that the following registers initially

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!