Hacker News new | ask | show | jobs
by trealira 880 days ago
You probably know this, but on C compilers targeting the 16-bit x86 CPUs, which have segmented memory, you have near and far pointers to accurately reflect its memory model. Near pointers are 16-bit offsets into the current segment, whereas far pointers consist of a 16-bit segment selector and a 16-bit offset.

https://en.wikipedia.org/wiki/Far_pointer

https://en.wikipedia.org/wiki/X86_memory_models

However, this is not standard C.