1. Engineering
  2. Computer Science
  3. write mips assembly code for the following c code do...

Question: write mips assembly code for the following c code do...

Question details

Write MIPS assembly code for the following C code. Do not use mult, use sll instead. Assume $s0 contains the value of "end", $s1 contains the address of the array numbers, and $s2 contains the value of i.

for(int i=3; i<end;i++)

{

number[i]= number[i]*16;

}

.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution