Skip to content

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

Think of a computer's memory as a big cabinet. Segmentation splits it into labeled drawers, and the drawers can be different sizes: one for a program, one for its stuff. To find something, you say which drawer and how far into the drawer it is. Different kinds of computers label and guard their drawers in their own ways.

Memory in Named Chunks

Memory segmentation is a way of organizing a computer's memory into separate named chunks called segments. Each segment can hold one kind of thing, like a program, a part of a program, or a data area. To point to something, the computer gives the segment and a position inside that segment. The computer also keeps extra information about each segment and checks it, but different kinds of computers do this in different ways.

Segmented Address Spaces

Memory Segmentation organizes a computer's address space into logical units, called segments, that can be named and addressed separately. A segment can stand for a program, a procedure, a data area or some other meaningful unit. An address then consists of something that identifies the segment (or a descriptor for it) plus a location within that segment, and the hardware uses extra information and checks to decide how to interpret it. The exact format, protection rules and translation steps vary between machine architectures. Segmentation can help with relocating programs or controlling access, but whether it does depends on the machine and the operating system. Unlike pages, which have a fixed size, segments follow logical units, and a system can use both segmentation and paging together.

 

Memory Segmentation structures an address space into logically meaningful units that can be named and addressed independently, such as a program, procedure or data area. A memory reference is two-part: it identifies a segment, or a descriptor for one, and an offset within it. Architecture-specific metadata associated with the segment, together with hardware checks, governs how that reference is interpreted, for example how it is translated and whether access is allowed. The representation of segment references, the protection rules and the translation pipeline differ from one machine to another. Segmentation as a technique should not be equated with any particular descriptor table implementation. It can support relocation or access control, but those benefits depend on the specific hardware and operating system. Segment boundaries differ from fixed-size page boundaries, and systems may combine segmentation with paging.

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

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 ↩