__far and C++ References

You can apply the __far modifier to references. Use this option when the reference is to an object outside of the default data page. See the following listing.

Listing: _far Modifier Applied to References


int j; // object j allocated outside the default data page

       // (must be specified in the link parameter file)

void f(void) {

  int &__far i = j;

};