Pointer Qualifiers

Use pointer qualifiers to distinguish different pointer types (for example, for paging). Some pointer qualifiers are also used to specify the calling convention to be used (for example, if banking is available). Use __linear to access data in extended memory.

Listing: Pointer Qualifiers
__far  (alias 
far)

__near (alias 
near)

__linear

To allow portable programming between different CPUs (or if the target CPU does not support an additional keyword), include the defines listed below in the `hidef.h' header file.

Listing: Define far and near in the hidef.h File
#define far   /* no far keyword supported  */
#define near  /* no near keyword supported */