Computer Science homework help. Quiz 6
- The MIPS processor has an ALU unit shown in the following figure. There are three-bits control signals sent to ALU circuit generated by the ALU decoder within the control unit, as listed in the following table.
Figure 1. ALU Unit
What are the three-bits control signal values for implementing the instruction “lw”?
lw $rt, immed($rs) # load word from memory address [$rs]+immed
What are the three-bits control signal values for implementing the instruction “addi”?
addi $s0, $s0, -1 # [$s0]= [$s0]-1