Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 04-16-2009, 01:03 PM   #1
Solid State Member
 
Join Date: Oct 2008
Posts: 19
Default Memory Segmentation

I'm confused about one thing concerning memory segmentation. I know that there are only a few segments, such as the code segment, data segment, etc. However, when you access memory using a 16 bit segment selector. This means that there are 2^16 values the segment selector could be... If there are only a few segments, how can you have that many values for the segment selector?
__________________

Gulshan Singh is offline   Reply With Quote
Old 06-11-2009, 11:17 AM   #2
Baseband Member
 
Join Date: May 2009
Posts: 79
Default Re: Memory Segmentation

Segmentffset

It looks like there would be too many, but not really. The thing is that the segments *overlap*. So any given memory location can be addressed in several different ways.
iPat is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 05:23 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0