Question: 1. (3.33 points) Evaluate the expression: 24xy 9y + 12 Use symbolic address x, y and answer in the data section. Get the value for
1. (3.33 points) Evaluate the expression: 24xy 9y + 12 Use symbolic address x, y and answer in the data section. Get the value for z and y from symbolic addresses x and y. Store the result at symbolic address answer. Since load delays are turned on in SPIM be careful what instructions are placed in the load delay slot. All the values are two's complement integers. You can verify the correctness of your program by trying different values for x and y in the data section. When you hand in your solutions, you only need to leave one value for each of x and y. A sample data section is as follows. . data .word 25 .word 44 x : answer: word 0 1. (3.33 points) Evaluate the expression: 24xy 9y + 12 Use symbolic address x, y and answer in the data section. Get the value for z and y from symbolic addresses x and y. Store the result at symbolic address answer. Since load delays are turned on in SPIM be careful what instructions are placed in the load delay slot. All the values are two's complement integers. You can verify the correctness of your program by trying different values for x and y in the data section. When you hand in your solutions, you only need to leave one value for each of x and y. A sample data section is as follows. . data .word 25 .word 44 x : answer: word 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
