Question: a)What does this sequence represent? 0010 0100 1001 0010 0100 1001 0010 0100 I. A single precision floating point number. II. a MIPS instruction. b)

a)What does this sequence represent?

0010 0100 1001 0010 0100 1001 0010 0100

I. A single precision floating point number.

II. a MIPS instruction.

b) Translate the following C code fragment to MIPS assembly instructions.

if (i==j)

{

a[i] = b[j];

}

else

{

a[i] = b[j+1];

}

Assume the starting address of array a[ ] and b[ ] are in $20 and $21 respectively, and index i and j map to $5 and $6 registers.

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!