SLAA534A June 2013 – June 2020
Symbolic addressing is performed using indexed (absolute) addressing relative to the PC register. The desired address is the sum of the effective PC and the indexed addressing mode offset. This offset is not visible in the assembly code. The mechanism is the same whether addressing code or data. Symbolic addressing is sometimes called PC-relative addressing.
For MSP430/MSP430X with the small code model, the following CALL instruction uses symbolic addressing and calls the function whose address is stored in location "sym".
CALL sym
For MSP430X with the large code model, the following CALLA instruction is equivalent to the previous CALL instruction.
CALLA sym