Using the far_abs Addressing Mode

Another way to use the far_call is to identify the far functions, by the addressing mode of the section in which they reside.

You must define a section that has a far_abs addressing mode.

Note: For more information about #pragma define_section syntax, refer to the CodeWarrior for Microcontrollers V10.x Targeting Manual.

Minimally, a far section would look like the following example:

  #pragma define_section FARSECT ".farsect" far_abs RX