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, 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
Get step-by-step solutions from verified subject matter experts
