Combining R- and I- Type Datapaths


This slide shows the datapath by combining R-type datapath and I-type ALU datapath in the previous slides. The R- and I- type instruction formats and examples are listed again as follows:

   add  $t1, $t2, $t3
   # $t1 = $t2 + $t3
   #  rd =  rs +  rt
   addi  $10, $8, 9
   # $10 = $8 + 9
   #  rt = rs + imm16

The figure shows the datapath by combining R-type datapath and I-type ALU datapath. It includes the following two multiplexors:
It also has the following control signals:


      When I said I would move to New York,    
      she offered me the job on the spot (immediately).