Machine Language Format HW Convert the MIPS assembly language to machine language. Convert your 32 bits machine language to hexadecimal for each instruction. Use the following: $s0=16, $s1=17, $s2=18, $s3=19, $s4=20, $s5=21, $s6=22 $+0=8, $+1=9 (Look on the MIPS Reference Sheet for verification) .text Loop: add $+1, $s3, $s3 add $†1, $+1, $†1 Exit: add $†1, $+1, $s6 Iw $+0,0($+1) bne $10, $s5, Exit add $s3, $s3, $s4 j Loop
Machine Language Format HW Convert the MIPS assembly language to machine language. Convert your 32 bits machine language to hexadecimal for each instruction. Use the following: $s0=16, $s1=17, $s2=18, $s3=19, $s4=20, $s5=21, $s6=22 $+0=8, $+1=9 (Look on the MIPS Reference Sheet for verification) .text Loop: add $+1, $s3, $s3 add $†1, $+1, $†1 Exit: add $†1, $+1, $s6 Iw $+0,0($+1) bne $10, $s5, Exit add $s3, $s3, $s4 j Loop
Related questions
Question

Transcribed Image Text:Machine Language Format HW
Convert the MIPS assembly language to machine language.
Convert your 32 bits machine language to hexadecimal for each instruction.
Use the following: $s0=16, $s1=17, $s2=18, $s3=19, $s4=20, $s5=21, $s6=22
$+0=8, $+1=9
(Look on the MIPS Reference Sheet for verification)
.text
Loop:
add $+1, $s3, $s3
add $†1, $+1, $†1
Exit:
add $†1, $+1, $s6
Iw $+0,0($+1)
bne $10, $s5, Exit
add $s3, $s3, $s4
j Loop
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
