Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/08/05 14:47
Read: times


 
#100816 - Irrelevant?
Responding to: ???'s previous message
Abhishek Singh said:
the x86 memory is segmented and any adress has two parts.

Not quite.

Memory is memory - it is addressed in the normal way.

It's not the memory itself that is segmented - it's just the way the x86 works with it internally.

The x86 is a 16-bit processor, so all its internal registers & data paths are 16 bits wide.
But the x86 has a 20-bit address space; the Segment:Offset business is just the way it manages to get 20 bits out of two 16-bit registers!
All the memory ever sees is a 20-bit address - it knows nothing about segmentation!

offset is stored in IP(instruction pointer) and segment in the CS

The x86 has a whole bunch of registers that can be used as Segment registers, and plenty of others that can be used as offsets...


List of 16 messages in thread
TopicAuthorDate
Micro Controller powered?            01/01/70 00:00      
   bible study time?            01/01/70 00:00      
      Reboot ?            01/01/70 00:00      
         See reply (Off-Topic)            01/01/70 00:00      
   Not A PC            01/01/70 00:00      
      Reboot doubt            01/01/70 00:00      
         Off Topic.            01/01/70 00:00      
            Rampant code execution            01/01/70 00:00      
            CS:IP            01/01/70 00:00      
               Irrelevant?            01/01/70 00:00      
                  irrelevent: irrelevent?            01/01/70 00:00      
                     TOTALLY irrelevant, at least at a '51 fo            01/01/70 00:00      
                        Already established!            01/01/70 00:00      
                     Wrong            01/01/70 00:00      
                        You Sure?            01/01/70 00:00      
                           If you want a proper answer...            01/01/70 00:00      

Back to Subject List