I know that not taken prediction is always assuming the branch isnt taken so PC keep working normal unless proven wrong that branch is taken so flush all the instructions behind branch in pipeline (assuming the branch is resolved in MEM stage)
but what if the static prediction is always Taken? in my lecture notebook says:
The compiler will try to fill the Delay Slots after each BRANCH command with the jump address commands. In case for a particular BRANCH command it will not be able to fill all of its Delay Slot, then it will push NOP. Of course this processor will flush for BRANCH commands that are NOT TAKEN.
Can I have an easy example with actual instructions list? and also what are delay slots? what the difference between delay slots and NOPS?