Here are the steps to translate the MIPS assembly language into machine language:
1. lw $t0,300($t1) # Load A[300] into register $t0
Opcode: 35 (load word)
rs: 13 ($t1)
rt: 8 ($t0)
offset: 300
2. add $t2,$s2,$t0 # Calculate h + A[300] and put in $t2
Opcode: 0 (add)
rs: 17 ($s2)
rt: 8 ($t0)
rd: 9 ($t2)
3. sw $t2,300($t1) # Store result back into