lkml.org 
[lkml]   [2003]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linear vs. logical addresses? how does cpu interpret kernel addrs?
On Tue, Sep 16, 2003 at 07:10:45PM -0700, William Lee Irwin III wrote:
>
> The way the extra data segment registers are used is by explicitly
> qualifying operands with segments.

ah! now that makes sense.

So, I'm guessing the DS register is used by default to select the base
address for all non-stack oriented operations. And I bet the SS
register is used by default for stack oriented operations, and all ops
that act on %esp (and %ebp?). I think that make my life easier.

Thanks a lot!

- Ben

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.202 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site