Question: Should the answer for this be - 1 6 or 1 6 ? The following instructions are used to save registers into the stack: sw

Should the answer for this be -16 or 16? The following instructions are used to save registers into the stack:
swra,12(sp) # save ra on the stack
sw s2,8(sp) # save s2 on the stack
sws1,4(sp)# save s1 on the stack
sws0,0(sp)# save s0 on the stack
Before the first of theseswinstructions is executed a value has to be added to thespregister.
What is the value that should be added tosp?
For automated grading, do not use spaces in your answer

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 Programming Questions!