I understand there are 5 standard stages for an instruction in MIPS. for the following pseudo instruction
li $t1, 0 # pseudo-instruction for addi $t1, $zero, 0
Can anyone please confirm if this uses all 5 stages? I think underlying this is an addi
but I don't really understand if it needs to use the MEM stage?
My thinking is that the immediate value is stored in the instruction, not in memory, so wouldn't the WB stage do the register load?