The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Ben Johnson <ben@blarg.net>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: "Martin J. Bligh" <mbligh@aracnet.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: linear vs. logical addresses?  how does cpu interpret kernel addrs?
Date: Tue, 16 Sep 2003 19:32:03 -0700	[thread overview]
Message-ID: <20030916193203.B26053@blarg.net> (raw)
In-Reply-To: <20030917021045.GY4306@holomorphy.com>; from wli@holomorphy.com on Tue, Sep 16, 2003 at 07:10:45PM -0700

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


  reply	other threads:[~2003-09-17  2:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 22:47 linear vs. logical addresses? how does cpu interpret kernel addrs? Ben Johnson
2003-09-17  0:48 ` Martin J. Bligh
2003-09-17  0:54   ` William Lee Irwin III
2003-09-17  0:58     ` Martin J. Bligh
2003-09-17  1:44       ` Ben Johnson
2003-09-17  1:55         ` William Lee Irwin III
2003-09-17  2:07           ` Ben Johnson
2003-09-17  2:10             ` William Lee Irwin III
2003-09-17  2:32               ` Ben Johnson [this message]
2003-09-17  2:10         ` Felipe Alfaro Solana
2003-09-17 11:39 ` Richard B. Johnson
2003-09-17 19:42   ` Ben Johnson
2003-09-17 20:05     ` Richard B. Johnson
2003-09-17 20:44       ` Jamie Lokier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030916193203.B26053@blarg.net \
    --to=ben@blarg.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    --cc=wli@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox