Difference between revisions of "Segment"
(A start) |
m (Jnc moved page Segment to Segmentation: Writeup makes this the main term) |
(No difference)
|
Revision as of 02:27, 16 April 2018
Segmentation (using segments) is an enhancement to the main memory naming semantics of some CPU architectures. Segments are blocks of memory identified by a segment number.
Most CPUs support a linear (single axis) address space; memory locations are defined by a single number, the address. With segmentation, the CPU's address space is defined by a two-axis matrix: the segment number on one axis, and then the offset byte/word within the segment on the other; memory locations are named by a tuple (segment and offset).
Segmentation has been used to expand the amount of main memory accessible to a given CPU architecture (as in the Intel x86 architecture]], but this usage is somewhat of a kludge.
Segmentation is also used in building single-level store systems.