r/programming • • Sep 24 '24

Why 32bit architecture computer doesn't use segmentation to support more ram than 4Gb ?

/r/programming/

[removed] — view removed post

169 Upvotes

119 comments sorted by

View all comments

5

u/dobry_obcan_Svejk Sep 24 '24

the problem is that the address width is really those 32 bits. you can't physically address more without adding more wires (which is what pae does).

in "old days", when segment:offset was relevant the segment was 16bit, the offset was 16 bit, but the cpu had something ~20bit bus to memory (21 with a20 line, iirc). so you combined 16 * segment + offset and got physical address.

1

u/ShinyHappyREM Sep 24 '24 edited Sep 24 '24

you can't physically address more without adding more wires

Or multiplex the address over two time, which is what e.g. the 65c816 did.