On 11/24/07, Dan Shechter <[EMAIL PROTECTED]> wrote:
> In x86 I know (or think I know) that the idle loop is implemented with
> the HALT command. I could not find any HALT command in MIPS assembly.
>
> I tried to read the idle loop in MIPS asm, but as I don't know mips
> assembly I could not follow the logic in it.
>
> And finally here is the question : How the IDLE loop is implemented in
> MIPS.

the latest idle loop on MIPS is:
LEAF(cpu_idle_cycle, 0)
        j       ra
        nop
END(cpu_idle_cycle)

which says "return".  that's all it does.

Reply via email to