[U-Boot] Mips: start.S Questions
Peter Belm
peterbelm at gmail.com
Fri Aug 21 15:46:08 CEST 2009
>
> It seems to me that you may still be missing the point that a "b reset"
> is an unconditional jump, not a call, i.e. we will never return to the
> next instruction. A call would be a "bal reset", i.e. "branch and link"
> which puts the address of the next instruction into the $ra register.
> One would return with "jr $ra".
>
Yes, you're right, sorry. I wasn't thinking that through very far, now I
know that is just goes to reset I'm continuing on.
I've done a fair bit of work with MIPS, so when it comes to instructions I'm
actually fairly well versed (when I'm paying attention anyway!)
--
Regards,
Peter Belm
More information about the U-Boot
mailing list