0

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?

ineedahero
  • 488
  • 2
  • 7
  • 22

1 Answers1

0

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.

Isuru H
  • 1,191
  • 1
  • 8
  • 11