Skip to main content

Questions tagged [segmentation]

Segment-based memory addressing and management. Far pointers, allocation, normalisation, etc.

9 votes
2 answers
1k views

If the penalty was 0, then you have a flat 640K. But it wasn't zero, so what was it? I get the feeling from reading about it that segment switching was something to be avoided at almost any cost.
Miss Understands's user avatar
11 votes
5 answers
6k views

The "large" memory model of x86 allowed a program to have multiple code segments and multiple data segment, using far calls to jump across code segments, and far pointers to access data from ...
airman's user avatar
  • 1,598
26 votes
4 answers
5k views

As far as I know, x86 CPUs start up in 16-bit 'real' mode (maybe some don't). The reset vector is 0xFFFFFFF0 (in most CPUs and in this context) In this 16-bit real mode, we can only access 16 bit ...
Example person's user avatar
1 vote
1 answer
523 views

The address bus of the Intel 8086 CPU is 20-bits, and when you want to specify a memory address to read from or write to, you would form the memory address using a segment register and an offset ...
user14630's user avatar
  • 151
12 votes
1 answer
2k views

Out of all the operating systems for the 80286 processor I found, only two make use of the protected mode's ability to load more than one segment for text and one for data. These are MS-DOS (through ...
fuz's user avatar
  • 1,614
5 votes
5 answers
2k views

From this answer, Hark back to the days of segmented 16-bit architectures for example: an array might be limited to a single segment (so a 16-bit size_t would do) BUT you could have multiple ...
Evan Carroll's user avatar
  • 3,516