A nop instruction is defined as:
sll $0,$0,0
Since $0 is a read-only register, could a nop ever be stalled in the 5-stage MIPS pipeline? That is, could it ever take more than 5 cycles to execute?
A nop instruction is defined as:
sll $0,$0,0
Since $0 is a read-only register, could a nop ever be stalled in the 5-stage MIPS pipeline? That is, could it ever take more than 5 cycles to execute?
I will not be stalled.
Update: Now come to think of it, may be there is a way to stall it if you really want to. If the instruction misses in the cache, the instruction fetch stage can be stalled.