linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Hendrik Visage" <hvjunk@gmail.com>
To: Kenton Brede <kbrede@gmail.com>
Cc: linux-assembly@vger.kernel.org
Subject: Re: suffix or operands invalid for
Date: Sun, 31 Dec 2006 20:06:20 +0200	[thread overview]
Message-ID: <d93f04c70612311006v39057c8x200d73078a3a9f7e@mail.gmail.com> (raw)
In-Reply-To: <d5418ffc0612220618ra72b5dfpcca0312c356b45ce@mail.gmail.com>

On 12/22/06, Kenton Brede <kbrede@gmail.com> wrote:
> Thanks to both of you for your replies.  You've helped me identify the
> problem.  I'm trying to assemble the code on an x86_64 system.  I
> tried the code using two identical versions of as, except one was 64
> bit and the other 32.  The assembly code assembled fine on the 32 bit.
>
> So I don't know if the code simply doesn't work with the 64 bit CPU or
> the language of the program doesn't work with the 64 bit assembler.

The longmode/64bit mode of the AMD64s doesn't do pushing of
32bits only 8 and 64bits AFAIR. I'll have to investigate myself why/what
the technical reasoning behind that is/was but it's currently for me
JustOneOfThoseThingsInLife(TM) ;^)

-- 
Hendrik Visage

      parent reply	other threads:[~2006-12-31 18:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-22  2:39 suffix or operands invalid for Kenton Brede
2006-12-22 12:51 ` Frank Kotler
2006-12-22 14:18   ` Kenton Brede
2006-12-22 16:16     ` Robert Plantz
2006-12-22 16:55       ` Robert Plantz
2006-12-22 19:05         ` Kenton Brede
2006-12-22 19:15           ` Robert Plantz
2006-12-31 18:06     ` Hendrik Visage [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=d93f04c70612311006v39057c8x200d73078a3a9f7e@mail.gmail.com \
    --to=hvjunk@gmail.com \
    --cc=kbrede@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 read-only IMAP folder(s) and NNTP newsgroup(s).