Question: . 2. Answer each question based on the code fragment below. (6 pts) MOV ri, #40 MOVr3, #0 MOV r4, #0 CMP r2, rl MOVLT

 . 2. Answer each question based on the code fragment below.

. 2. Answer each question based on the code fragment below. (6 pts) MOV ri, #40 MOVr3, #0 MOV r4, #0 CMP r2, rl MOVLT r3, r2 MOVLT r4, #0 MOVGT r3, rl SUBGT r4, r2, rl a. What is the value of r3 and r4 after the code executes if the initial value in r2 is 30 ? b What is the value of r3 and r4 after the code executes if the initial value in r2 is 50? 2 c. What is the value of r3 and r4 after the code executes if the initial value in

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!