__far_func
In this section:
Syntax
See Syntax for type attributes used on functions.
Description
The __far_func memory attribute overrides the default storage of functions given by the selected code model and places individual functions in far_func memory. You can also use the __far_func attribute to create a pointer explicitly pointing to an object located in the far_func memory.
Storage
Address range:
0–0xFFFFF(1 Mbyte)Maximum size: 65535 bytes. A function cannot cross a 64-Kbyte boundary.
Pointer size: 3 bytes
Example
__far_func void myfunction(void);