Answer:
Explanation:
RegWrite:
• All R-type instructions, lw and addi:
• The result of the operation/load/addition would not be written back to the destination register
• ALUOP
• The following R-type instructions: add, sub, and, or, slt
• With ALUOp stuck at 0, the ALU decoder would interpret all those instructions as either add or subtract operations. The ALUOp gets decoded to add or subtract depending on ALUOp[0].
• MemWrite:
• Only sw is affected.
• The memory write won’t take place.