Question: Problem 3- Consider the following assembly code: 8 addi xl, x0, 12 addi x2, x0, 15 Y1: sub x2, x2, x1 blt x2, x0, X1

 Problem 3- Consider the following assembly code: 8 addi xl, x0,

Problem 3- Consider the following assembly code: 8 addi xl, x0, 12 addi x2, x0, 15 Y1: sub x2, x2, x1 blt x2, x0, X1 X1 add x3, x2, x1 lui x4, 12 ori x4, x4, 10 What are the values of registers x1, x2, x3, and x4 after the program ends its execution? If a register value did not change in the code above, write "NO CHANGE". Please indicate what base you are using to display the values. 2 x1: x2: x3: x4: Problem 3- Consider the following assembly code: 8 addi xl, x0, 12 addi x2, x0, 15 Y1: sub x2, x2, x1 blt x2, x0, X1 X1 add x3, x2, x1 lui x4, 12 ori x4, x4, 10 What are the values of registers x1, x2, x3, and x4 after the program ends its execution? If a register value did not change in the code above, write "NO CHANGE". Please indicate what base you are using to display the values. 2 x1: x2: x3: x4

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!