Hello, would you please correct the errors in my assignment. 12:06 1 a mail-atta
ID: 3741293 • Letter: H
Question
Hello, would you please correct the errors in my assignment.
12:06 1 a mail-attachment.googleusercontent.com Scanned by CamScanner 10 of 13 Part IL. MIPS Arithmetic Translate the following statements from Java to MIPS. You may use temporarles as necessary (20 pts,4 pts each egister $s0 able 83 84 starting address of a addi to, sero,5 a addu Scanned by CamScanner IMIPS Structures Translate the follawing into MIPS, assuming the register assignments below. You may use temporaries as necessary 130 pts, 15 pts each]. hresho1 address of a diff " y- 3Explanation / Answer
# 1 addi $t0, $zero, 5 sub $s1, $t0, $s2 # 2 is correct # 3 add $t0, $s0, $s2 sll $s3, $t0, 4 #4 add $t0, $s1, $s2 sw $t0, 40($s4) #5 addi $t0, $s1, 1 sll $t0, $t0, 2 add $t0, $t0, $s4 lw $s0, 0($t0)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.