Question: (10) (10 pts) For the MIPS assembly below, addi sub addi $S0, $s0, 4 $s0, $s0, $s1 Sto, Szero, 1024 lb Sto, -8(Sso) assume that

(10) (10 pts) For the MIPS assembly below, addi sub addi $S0, $s0, 4 $s0, $s0, $s1 Sto, Szero, 1024 lb Sto, -8(Sso) assume that the registers $s0 and $s1 contain the values 152 and 16 respectively before the code is executed, and that the memory contains the following values: Address 124 128 132 136 140 144 148 152 156 Value 5000 4000 3000 2000 1000 2000 3000 4000 5000 Data storage is big endian. Show the address and content of the memory word of which the content is changed by the code. Answer: (10) (10 pts) For the MIPS assembly below, addi sub addi $S0, $s0, 4 $s0, $s0, $s1 Sto, Szero, 1024 lb Sto, -8(Sso) assume that the registers $s0 and $s1 contain the values 152 and 16 respectively before the code is executed, and that the memory contains the following values: Address 124 128 132 136 140 144 148 152 156 Value 5000 4000 3000 2000 1000 2000 3000 4000 5000 Data storage is big endian. Show the address and content of the memory word of which the content is changed by the code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
