Re: "Error: suffix or operands invalid for `push'" on 64bit boxes

"Richard Guenther" <[email protected]> Thu, 22 Feb 2007 13:23:51 +0100
Newsgroups org.kernel.vger.linux-assembly
Message-ID <[email protected]>
On 2/22/07, Alok kataria <[email protected]> wrote:
> Hi,
>
> I was trying some inline assembly with  gcc.
>
> Running the assembly program on 64 bit system ( with 64bit gcc
> version) gives errors of the form
>
> /tmp/cc28kO9v.s: Assembler messages:
> /tmp/cc28kO9v.s:57: Error: suffix or operands invalid for `push'

This is off topic here, please use [email protected] for this kind
of questions.
Your assembly statements are not valid 64bit asm but only work on 32bit.

Richard.