In the following MIPS assembly code translate the two branch

In the following MIPS assembly code, translate the two branch instructions to their corresponding machine code in hexadecimal formal. Put y our final answers to the blanks behind these two lines. Loop: sl1 $t1, $s3, 2 add $t1, $t1, $s6 lw $t0, 0($t1) bne $t0, $s5, Exit addi $s3, $s3, 1 beq $zero, $zero, Loop

Solution

Loop : sll $t1, $s3,2

add $t1, $t1, $s6

lw $t0, 0($t1)

bne $t0, $s5, exit # 0x1515ffff

addi $s3, $s3, 1

beq $zero, $ zero, loop #0x1000ffff

 In the following MIPS assembly code, translate the two branch instructions to their corresponding machine code in hexadecimal formal. Put y our final answers t

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site