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

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