SLAA534A June 2013 – June 2020
The basic approach is to simply encode the destination as an absolute constant:
For MSP430/MSP430X with the small code model, the following CALL instruction uses absolute addressing and calls the function whose address is stored in location func.
CALL &func
For MSP430X with the large code model, the following CALLA instruction is equivalent to the previous CALL instruction.
CALLA &func
Any code that encodes such a constant directly becomes position dependent, having the undesirable property of requiring patching if relocated, for example at load time.