From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Belm Date: Fri, 21 Aug 2009 14:46:08 +0100 Subject: [U-Boot] Mips: start.S Questions In-Reply-To: References: <574bb010908210434j5e3bcc4cqb96604c345f01046@mail.gmail.com> <574bb010908210553v7dd8570cnfa6d85978b531e10@mail.gmail.com> <574bb010908210608h3e77eb4fj5f510754eb2333be@mail.gmail.com> Message-ID: <574bb010908210646r40eb14f1r5a792ac3aee76320@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > 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