SLAA534A June 2013 – June 2020
A called function returns by executing a dedicated RET instruction, which pops the return address from the stack and branches to it. This instruction is used on MSP430 and MSP430X with the small code model.
If the large code model is used on MSP430X, the RETA instruction is executed instead.
If the function is an interrupt handler function, the RETI instruction is used instead.