Segments and offsets

Programming, for all ages and all languages.
Post Reply
Jubbens

Segments and offsets

Post 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
A guest

Re:Segments and offsets

Post 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.
Post Reply