Page 1 of 1

Segments and offsets

Posted: Thu Apr 14, 2005 10:04 pm
by Jubbens
Just learning assembly here...

I know that 0x10400:0x0000 isn't a valid location. Can smeone help me with the concept of physical memory locations? (segment:offset)

Thanks

Re:Segments and offsets

Posted: Thu Apr 14, 2005 10:48 pm
by A guest
Try here:

http://www.osdev.org/osfaq2/index.php/W ... re%20About

And if you still are having trouble, tell me specifically what doesn't make sense, and I'll see what I can do.

In short, for real mode, Physical address = (Segment << 4) + Offset.