The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jidong.xiao@gmail.com
Cc: hpa@zytor.com, linux-kernel@vger.kernel.org
Subject: Re: Can anyone explain "movl %eax %eax"?
Date: Wed, 09 Feb 2011 15:05:14 -0800 (PST)	[thread overview]
Message-ID: <20110209.150514.115926470.davem@davemloft.net> (raw)
In-Reply-To: <AANLkTimN2oM6E9E34fMffgtH81ZfYcGj6J5nnjGrxGfA@mail.gmail.com>

From: Jidong Xiao <jidong.xiao@gmail.com>
Date: Wed, 9 Feb 2011 18:02:09 -0500

> Oh, I see. Thank you. So similarly, the operation "xorl %eax,%eax" is
> used for the same reason, right? I see that appears in more files.

The xorl clears the entire register.

  reply	other threads:[~2011-02-09 23:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09 22:24 Can anyone explain "movl %eax %eax"? Jidong Xiao
2011-02-09 22:32 ` H. Peter Anvin
2011-02-09 23:02   ` Jidong Xiao
2011-02-09 23:05     ` David Miller [this message]
2011-02-10  1:32       ` Jidong Xiao

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=20110209.150514.115926470.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=hpa@zytor.com \
    --cc=jidong.xiao@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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