Datapath for I-Type ALU Instructions


Several of the arithmetic/logical instructions also have an immediate form. They are I-type and one I-type ALU instruction is addi, add immediate:

   addi  $10, $8, 9
   # $10 = $8 + 9
   #  rt = rs + imm16

The instruction format includes the following features:
The figure shows a datapath for I-type ALU instructions. Other I-type instructions such as load and store will be discussed later.

The datapath has the following features: It also includes the following three control signals:


      Q: Where do you find a dog with no legs?    
      A: Right where you left him.