SPRAB89B September 2011 – August 2025
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 ; returnIf the function is an interrupt handler function, this must be a branch to IRP instead:
B IRP ; return from interrupt handlerThe TI toolchain uses the RET pseudo instruction to designate branches that implement function returns.