Can somebody help me? I have no idea how to do that:( Determine which MIPS assem
ID: 3757822 • Letter: C
Question
Can somebody help me? I have no idea how to do that:(
Determine which MIPS assembly instruction(s) if any, that we discussed in class (R-format (including add, sub, or, and, nor, slt), lw, sw, beq, j) will not work correctly and explain what will happen instead, if each of the following control signals in the single-cycle datapath that we saw in class (shown below) is always one of 0 or 1:
a). Branch = 1 (or PCSrc = 1) (always stuck at 1)
b). ALUOp1 = 1 (always stuck at 1)
c). RegWrite = 1 (always stuck at 1)
Explanation / Answer
a)
In this case the branch instructions will not work.
so instruction like beq,slt and j will not work which requires jump.
b)
In this case the ALU instructions will not work. Instructions are
add,sub,or,and,nor
c)
In this case instruction which do writebacks like load/stores instructions will not work
lw,sw