ADVANCED PROCESSORS—80286 TO PENTIUM 14-23
14.9 | Calculating the Size of the Logical Address
Space
In a segmented model of memory, the address space as viewed by an applications pro-
gram (called the logical address space) is a much larger space of up to 2
46
(64 terabytes).
How is this figure obtained? Let us make a calculation.
A selector has 13 bits as index for selecting one of the descriptors from a descrip-
tor table. Thus, it can access up to 2
13
descriptors with just one descriptor table. Since
two descriptor tables (the GDT and one LDT) are active at a time, 2 × 2
13
segments
can be accessed. Each descriptor corresponds to a segment with a maximum size of 4
GB or 2
32
bytes. The total available memory space is now calculated to be 2 ...