Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write the machine code for the following instructions in hexadecimal. Show your work. (a) sub $s1 $t4 $s5 (b) addi Ss7 $80-12 (c) sll

image text in transcribed
1. Write the machine code for the following instructions in hexadecimal. Show your work. (a) sub $s1 $t4 $s5 (b) addi Ss7 $80-12 (c) sll $s1 $s2, 2 (d) lw $to, Ox24($+7) 2. State the values of $s0 and $sl after the code is run. Show your work. addi $so, $0, 8 addi $81, $0,1 sll $81, $81,3 bne $50, $81, target addi $81, $$1,1 sub $81, $s1, $50 target: sub $81, $s1, $so

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions