Question: 3. Assemble the following assembly-language code by writing out the corresponding machine language instructions. The hex address of each instruction is given to the left

 3. Assemble the following assembly-language code by writing out the corresponding

3. Assemble the following assembly-language code by writing out the corresponding machine language instructions. The hex address of each instruction is given to the left of each instruction. Print this page and fill in the decimal values for each field, convert to binary, and then convert the whole instruction to hexadecimal. The first one is done for you as an example. For longer fields, such as the immediate data in I-type instructions, draw a line connecting the fields, such as17_-, 2000 slt $s1, $s2, $s3 Instruction breakdown by binary bit 5 bits 6 bits 5 bits 6 bits 4 2 5 bits 5 bits Dec Bin lol0lolo 0/0110 01 01110 011 100 0110l0l0l0 01110110110 Hex 2 3 2 2004 and Sto, Ss3, St4 Instruction breakdown by binary bit 5 bits 6 bits 5 bits 5 bits 5 bits 6 bits Dec Bin Hex 2008 add to, $t4, $s0 Dec Bin Hex 200C addi St1, St2, 1234 #1234 is a decimal number Dec Bin Hex 2010 lw Ss4, 200($t2) #200 is a decimal number Dec Bin Hex

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!