Homework 1
Due Date: Sept 7 wed
Assignment:
0 |
8 |
2 |
3 |
0 |
32 |
A[2*i] = A[2*k+j];
where the array A starts at address Astart, and variables i, j, and k are, respectively, registers $3, $4, and $5. You may use registers $6, $7, and $8 for temporary values if needed.
Instruction 1: 100011 00011 00100 00000 00000 000100
Instruction 2: 000000 01101 00000 00000 00000 001000
Instruction 3: 000000 00001 00010 00011 00000 100010
Instruction 4: 000010 00000 00000 00000 00000 00110