HW: MIPS (Part C)

5 pts total.

  1. (2.39) Write MIPS assembly code that creates the following 32-bit constant and stores that value to register $t1.
        0010 0000 0000 0001 0100 1001 0010 0100
    
    This can be done using only instructions we have discussed in class, although you may use any of the instructions from the table in Figure 2.1 (p. 64), including ones we have not used in class, if you wish.
  2. 3 pts

  3. (2.40) If the current value of the PC is
        0000 0000 0000 0000 0000 0000 0000 0000
    
    can you use a single jump instruction to get to the PC address represented by the constant in the previous question?
  4. 2 pts