Delay Slot - Load Delay Slot

Load Delay Slot

A load delay slot is an instruction which executes immediately after a load (of a register from memory) but does not see the result of the load. Load delay slots are very uncommon because load delays are highly unpredictable on modern hardware. A load may be satisfied from RAM or from a cache, and may be slowed by resource contention. Load delays were seen on very early RISC processor designs. The MIPS I ISA (implemented in the R2000 and R3000 microprocessors) suffers from this problem.

The following example is MIPS I assembly code, showing both a load delay slot and a branch delay slot.

lw v0,4(v1) # load word from address v1+4 into v0 nop # useless load delay slot jr v0 # jump to the address specified by v0 nop # useless branch delay slot

Read more about this topic:  Delay Slot

Famous quotes containing the words load, delay and/or slot:

    Men so noble,
    However faulty, yet should find respect
    For what they have been. ‘Tis a cruelty
    To load a falling man.
    William Shakespeare (1564–1616)

    Keep on adding, keep on walking, keep on progressing: do not delay on the road, do not go back, do not deviate.
    St. Augustine (354–430)

    Some are able and humane men and some are low-grade individuals with the morals of a goat, the artistic integrity of a slot machine, and the manners of a floorwalker with delusions of grandeur.
    Raymond Chandler (1888–1959)