Question: 1)What is the MIPS assembly code: A)To load a word of data at memory address 8 into $s1. B)To store the value held in $t5
1)What is the MIPS assembly code:
A)To load a word of data at memory address 8 into $s1.
B)To store the value held in $t5 into memory address 0xC
2) For the following C statement what is the corresponding MIPS assembly code?
g = h + A[12];
Assume variable g is assigned to $s1, h to $s2, base address of A in $s3.
3) For the following C statement what is the corresponding MIPS assembly code?
A[24] = h + A[16];
Assume variable h to $s1, base address of A in $s2.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
