Far pointer
In a segmented architecture computer, a far pointer is a pointer to memory in a specific context, such as a segment selector making it possible to point to addresses outside of the default segment. Comparison and arithmetic on far pointers is problematic: there can be several different segment-offset address pairs pointing to one physical address.
In a segmented architecture computer, a far pointer is a pointer to memory in a specific context, such as a segment selector making it possible to point to addresses outside of the default segment. Comparison and arithmetic on far pointers is problematic: there can be several different segment-offset address pairs pointing to one physical address. include int main() { char far *p = (char far *)0x55550005; char far *q = (char far *)0x53332225; *p = 80; (*p)++; printf("%d", *q); return 0; } Output of the following program: 81; Because both addresses point to same location. Physical Address = (value of segment register) × 0x10 + (value of offset). Location pointed to by pointer is : 0x5555 × 0x10 + 0x0005 = 0x55555 Location pointed to by pointer is : 0x5333 × 0x10 + 0x2225 = 0x55555 So, and both point to the same location 0x55555. ==Notes== ==References==
References
No reference rows published for this article.
Cite this article
MLA
"Far pointer." encyclopegia.org, 2026, https://encyclopegia.org/wiki/far-pointer. Accessed 23 November 2026.
Chicago
"Far pointer." encyclopegia.org. Accessed November 23, 2026. https://encyclopegia.org/wiki/far-pointer.
APA
encyclopegia.org. (2026). Far pointer. Retrieved November 23, 2026, from https://encyclopegia.org/wiki/far-pointer
Accessed November 23, 2026 · CC BY-SA 4.0 · citation page · JSON