linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: horseriver <horserivers@gmail.com>
To: Hendrik Visage <hvjunk@gmail.com>
Cc: linux-assembly@vger.kernel.org
Subject: Re: mov instruction
Date: Thu, 7 Feb 2013 12:32:57 +0800	[thread overview]
Message-ID: <20130207043257.GD2669@debian.localdomain> (raw)
In-Reply-To: <CADtGFv=CY+wFMRgzsrp3wcspMEhUYnCKSpQz6vfHJYhTUbVXBQ@mail.gmail.com>

On Thu, Feb 07, 2013 at 03:57:37PM +0200, Hendrik Visage wrote:
> On Thu, Feb 7, 2013 at 5:57 AM, horseriver <horserivers@gmail.com> wrote:
> > hi:)
> >
> >   Is here a suitable place to post topics about hardware technology?
> >
> >   I am curious about how mov work.
> >   Why it can not move data from a mem adress to another adress  in one instruction.
> >   in this form : mov (eax), (ebx)
> 
> That is what the (rep) movs(b/w) etc. operation(s) are designed for
> these "string copy" operations. the old 8086 had those running between
> es:di and ds:si as the registers for this.
  Yeah! I remember that.
  But why this can not work : mov (eax), (ebx)  ?  just curious .

thanks!

  reply	other threads:[~2013-02-07  4:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07  3:57 mov instruction horseriver
2013-02-07 13:57 ` Hendrik Visage
2013-02-07  4:32   ` horseriver [this message]
2013-02-08 20:30     ` Robert Plantz

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=20130207043257.GD2669@debian.localdomain \
    --to=horserivers@gmail.com \
    --cc=hvjunk@gmail.com \
    --cc=linux-assembly@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;
as well as URLs for NNTP newsgroup(s).