SPRAC71B February 2019 – October 2023
When the called function is known at compile time, all architectures use a direct call instruction. This instruction may use an immediate, absolute, or symbolic addressing mode. The examples here show only the immediate addressing modes.
The C28x uses the LCR instruction. This addressing mode reaches all valid code memory.
LCR #func ; immediate mode, call func