Question: From the following assembly language code for a 32-bit MIPS processor, generate the binary machine language for this code fragment. Consult the Internet, for example:

From the following assembly language code for a 32-bit MIPS processor, generate the

binary machine language for this code fragment. Consult the Internet, for example:

http://max.cs.kzoo.edu/cs230/Resources/MIPS/MachineXL/InstructionFormats.html

for the bit patterns for opcodes and register numbers (5 points/instruction).

Start:

LW R1,40(R2)

LW R3,1000(R0)

ADDU R1, R2, R3

J Start:

(where Start is at 32-bit address 0x00001000)

** ORDER IS BIG-ENDIAN **

Tell what bits go in each memory address. Remember that an address holds 8 bits.

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!