__near
In this section:
Syntax
See Syntax for type attributes used on data objects.
Description
The __near memory attribute overrides the default storage of variables given by the selected data model and places individual variables and constants in near memory.
You can also use the __near attribute to create a pointer explicitly pointing to an object located in the near memory.
Storage
Address range:
0xF0000–0xFFFFFMaximum object size: 65535 bytes
Pointer size: 2 bytes
Example
__near int x;