public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* movq instruction not supported?
@ 2006-09-01  1:39 wizard00
  2006-09-05 15:13 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: wizard00 @ 2006-09-01  1:39 UTC (permalink / raw)
  To: gcc-help


Hi all,
   I try to do movq  0x5555555555555555, %es:(%edx)
 move quadword to a memory location
but gcc complains error suffix or operand invalid.
what's wrong?
 
thanks
-- 
View this message in context: http://www.nabble.com/movq-instruction-not-supported--tf2200246.html#a6091470
Sent from the gcc - Help forum at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: movq instruction not supported?
  2006-09-01  1:39 movq instruction not supported? wizard00
@ 2006-09-05 15:13 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2006-09-05 15:13 UTC (permalink / raw)
  To: wizard00; +Cc: gcc-help

wizard00 <sys_eng00@yahoo.com> writes:

>    I try to do movq  0x5555555555555555, %es:(%edx)
>  move quadword to a memory location
> but gcc complains error suffix or operand invalid.
> what's wrong?

Wrong mailing list.  This is not a gcc question.  It is a binutils
question.  See http://sourceware.org/binutils/

If you want to move a quadword, you need to use %rdx, not %edx.

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-05 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-01  1:39 movq instruction not supported? wizard00
2006-09-05 15:13 ` Ian Lance Taylor

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 read-only IMAP folder(s) and NNTP newsgroup(s).