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

icon
Related questions
Question
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
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer