Designating Functions in the far section

After defining a section that has a far_abs addressing mode, you must designate which functions reside in the far section. You can do this by using __declspec or #pragma:

  __declspec(<sectname>) <function prototype>
  
  

or

  __declspec(section "<sectname>") <function prototype>
  
  
Example
  __declspec(section "FARSECT") int farfunc(int);