9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] cmovne
Date: Sun,  8 Feb 2015 16:29:46 -0800	[thread overview]
Message-ID: <483c373a6dd50e0cdabb0322ca581fd3@brasstown.quanstro.net> (raw)
In-Reply-To: <CA+db=n1_ZgJPA5C8k8BWszs=ObEU1BDN6+Xh=tPtR5+OuoYwrg@mail.gmail.com>

> No. I just realized you want conditional move from DX to (DI).
>
> It's an illegal combination. The intel document only lists three forms for
> CMOVNE:
> CMOVNE r16, r/m16 // CMOVWNE
> CMOVNE r32, r/m32 // CMOVLNE
> CMOVNE r64, r/m64 // CMOVQNE
>
> All of them are conditionally moving from reg/mem to a register.
> (Also note the description "These instructions can move 16-bit, 32-bit or
> 64-bit values
> from memory to a general-purpose register or from one general-purpose
> register to another.")

d'oh!

ah!  thanks.  i tripped over intel listing the arguments in the other order.
glad i asked.

- erik



      reply	other threads:[~2015-02-09  0:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08 23:27 erik quanstrom
2015-02-08 23:36 ` Don Bailey
2015-02-08 23:37   ` erik quanstrom
2015-02-09  0:50     ` Don Bailey
2015-02-08 23:43 ` minux
2015-02-08 23:42   ` erik quanstrom
2015-02-09  0:23     ` minux
2015-02-09  0:29       ` erik quanstrom [this message]

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=483c373a6dd50e0cdabb0322ca581fd3@brasstown.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).