Memory Segmentation Across Architectures¶
A comparison of segment-relative addressing and protection across distinct computer architectures.
Core Idea¶
Memory segmentation organizes an address space into logical units that can be named and addressed separately. A segment can represent a program, procedure, data area or other unit. A reference identifies a segment or descriptor and a location within it; architecture-specific metadata and checks control how the reference is interpreted. The particular representation, protection rules and translation steps vary among machines.[1][2][3]
The technique is distinct from a particular descriptor table. It can support relocation or access control, but those effects depend on the machine and operating system. Segment boundaries also differ from fixed-size page boundaries: a system can use both segmentation and paging.[1]
How would you explain it like I'm…
Labeled Memory Boxes
Memory in Named Chunks
Segmented Address Spaces
Multics: Segments and Pages¶
Bensoussan, Clingen and Daley describe a Multics virtual address as a segment number and a word number. Each process has a descriptor segment for its address space. Segment descriptor information includes a length and access information; the described hardware can fault on a missing segment, an out-of-range reference, or an incompatible access. A segment may be shared while different processes have their own access information.[1]
The authors first explain an unpaged simplification, where a base and offset lead to a core address. In the actual Honeywell 645 Multics implementation they describe, segments are paged: descriptor and page-table information participate in translating an address. An associative memory keeps recently used descriptor and page-table words to reduce additional memory accesses. Thus a logical description of checks does not mean a descriptor must be fetched from main memory afresh for every reference.[1]
Burroughs B5000: Program Reference Table¶
The B5000 processor manual describes descriptors held in a Program Reference Table. It identifies a descriptor using a flag bit and describes base and size information; index values are checked against the size field before the indexed operation. Program descriptors and data descriptors have different uses. The table's addresses can be changed when programs or areas are relocated. This is a historical descriptor design with its own formats, not the x86 GDT/LDT selector format.[2]
x86: Tables and Cached State¶
In x86 protected mode, selectors can identify entries in the Global Descriptor Table or the current Local Descriptor Table. A valid non-null selector loaded into a segment register causes descriptor information to be checked and cached in the register's hidden state. Subsequent references use that loaded state, and paging can further translate the resulting linear address. Rules vary by descriptor type and processor mode; 64-bit mode restricts much of legacy segmentation.[3][4]
Boundaries¶
These examples share a way of organizing or naming memory, not one universal descriptor layout or protection scheme. Paged Multics should not be reduced to a single physical base plus offset; the B5000 flag and size fields should not be described as x86 selector bits. Segmentation may coexist with paging, and descriptor-based architectures can be related to capability ideas without making every segment descriptor a capability in the same sense. Neither sharing nor a change in descriptor information alone proves that every architecture performs relocation, access checks or caching identically.[1][2][3]
Neighborhood in Abstraction Space¶
Memory Segmentation Across Architectures sits in a sparse region of the domain-specific corpus (97th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.
Family — Unclustered & Miscellaneous (3155 abstractions)
Nearest neighbors
- x86 Segment Descriptor Tables — 0.80
- Working Set — 0.76
- Flat memory model — 0.75
- Virtual address space — 0.74
- Virtual memory — 0.74
Computed from structural-signature embeddings · 2026-11-14
References¶
[1] A. Bensoussan, C. T. Clingen, and R. C. Daley, The Multics Virtual Memory: Concepts and Design, Communications of the ACM 15, no. 5 (1972), pp. 308–318, sections 5–7. registry ↩a ↩b ↩c ↩d ↩e
[2] Burroughs Corporation, Operational Characteristics of the Processors for the B5000, document 5000-21005 (1963), sections 3–4. registry ↩a ↩b ↩c
[3] Intel, Intel 64 and IA-32 Architectures Software Developer’s Manual Volume 3A order 253668 revision 090, February 2026, sections 2.4.1 and 3.4. registry ↩a ↩b ↩c
[4] Advanced Micro Devices, AMD64 Architecture Programmer’s Manual Volume 2 System Programming publication 24593 revision 3.42, March 2024, chapter 4. AMD-authored manual, accessible mirror. registry ↩