Question: 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


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 as -17 1. 2000 It $s1, $s2, $s3 Instruction breakdown by binary bit 5 bits 5 bits 0 6 bits 5 bits 6 bits 4 2 5 bits Dec Bin lo10 010101011101011|011101011|1|1|01011 01010 01011|011101110 Hex 0 0 2 3 8 8 2 2004and St0, $s3, $t4 Instruction breakdown by binary bit 5 bits 6 bits 5 bits 5 bits 5 bits 6 bits Dec Bin Hex
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
