[Top] [All Lists]

Delay Slot

To: "Linux" <linux-mips>
Subject: Delay Slot
From: Elias Kesh <>
Date: Mon, 14 Apr 97 19:52:41 -0700
Can someone explain to me what a delay slot is ? Twice now I have had to 
change code from this
                li      a0,0
        jal     do_IRQ

                move    a1,sp                   # delay slot

to this,
                li              a0,0

                li              a1,0xffffffff   # Kludge by elias
                and             a1,sp

                jal             do_IRQ

in order to get the right arguments at the other end. I am using gcc 
2.7.2-2 and the processor is a 4300 from NEC.


<Prev in Thread] Current Thread [Next in Thread>