A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » Processors » Intel
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Addressing modes



 
 
Thread Tools Display Modes
  #1  
Old September 2nd 03, 07:50 PM
Daniel Huw Bellringer
external usenet poster
 
Posts: n/a
Default Addressing modes

I was wondering if anyone could clear up, a very simple issue for me. How
are the various segment registers applicable in 32-bit (i.e. non 16-bit)
code? Do the addresses simply get translated into 32 bit values and then
used as a immediate 32 bit value ? Thanks for any information.


  #2  
Old September 3rd 03, 07:16 AM
Yousuf Khan
external usenet poster
 
Posts: n/a
Default

"Daniel Huw Bellringer" wrote in
message ...
I was wondering if anyone could clear up, a very simple issue for me. How
are the various segment registers applicable in 32-bit (i.e. non 16-bit)
code? Do the addresses simply get translated into 32 bit values and then
used as a immediate 32 bit value ? Thanks for any information.


Those segments are all still there in 32-bit mode, but they are extremely
flexible in how they are defined, and most operating systems simply define
them to be equal to zero, in a way, so they can ignore them.

But you can conceivably have 48-bit addresses in an x86 32-bit processor
using segments. That is 16:32 for segmentffset. Each segment could be a
defined 4GB address area. Of course, most of that wouldn't fit in physical
memory, so it would have to be obtained through virtual memory.

Yousuf Khan


  #3  
Old September 9th 03, 12:34 AM
Glen Herrmannsfeldt
external usenet poster
 
Posts: n/a
Default


"Yousuf Khan" wrote in message
ble.rogers.com...

(snip)

Those segments are all still there in 32-bit mode, but they are extremely
flexible in how they are defined, and most operating systems simply define
them to be equal to zero, in a way, so they can ignore them.

But you can conceivably have 48-bit addresses in an x86 32-bit processor
using segments. That is 16:32 for segmentffset. Each segment could be a
defined 4GB address area. Of course, most of that wouldn't fit in physical
memory, so it would have to be obtained through virtual memory.


You could have 64GB physical memory, but only 4GB can be mapped by the MMU
at once.

No OS that I know of will do the remapping to allow multiple segments and
4GB addressable real memory for one task.


-- glen


  #4  
Old September 9th 03, 01:33 AM
Yousuf Khan
external usenet poster
 
Posts: n/a
Default

"Glen Herrmannsfeldt" wrote in message
news:1m87b.395855$Ho3.59305@sccrnsc03...
But you can conceivably have 48-bit addresses in an x86 32-bit processor
using segments. That is 16:32 for segmentffset. Each segment could be

a
defined 4GB address area. Of course, most of that wouldn't fit in

physical
memory, so it would have to be obtained through virtual memory.


You could have 64GB physical memory, but only 4GB can be mapped by the MMU
at once.

No OS that I know of will do the remapping to allow multiple segments and
4GB addressable real memory for one task.


Yes, exactly.

Yousuf Khan


 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
16:10 modes supported by Geforce6? RJT Nvidia Videocards 0 January 23rd 05 09:47 AM
matroxfb modes Captain Dondo Matrox Videocards 3 January 19th 05 07:44 PM
PATA controller with 48 bit addressing and signed XP drivers Daniel Prince Storage (alternative) 1 August 30th 04 06:15 PM
FSAA Modes Erwin Steen Nvidia Videocards 2 May 19th 04 08:18 PM
48-Bit LBA Addressing CHANGE USERNAME TO westes Compaq Computers 0 October 13th 03 05:02 PM


All times are GMT +1. The time now is 04:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.