Function pointers
In this section:
The size of function pointers is always 16 or 24 bits. These function pointers are available:
Keyword | Pointer size | Default in code model | Description |
|---|---|---|---|
2 bytes | Near | Can address the first 64 Kbytes of memory. | |
3 bytes* | Far | Can address the entire 1 Mbyte memory space. |
Table 78. Function pointers
* Because of alignment restrictions, 3-byte pointers take up 4 bytes in memory.