SPRAB89A September 2011 – March 2014
A function return is executed by branching to the address passed in B3. The callee may move the address and store it elsewhere, typically required for nested calls. If the address is still in B3, the instruction would be:
B B3 ; return
If the function is an interrupt handler function, this must be a branch to IRP instead:
B IRP ; return from interrupt handler
The TI toolchain uses the RET pseudo instruction to designate branches that implement function returns.