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

Richard Guenther richard.guenther@gmail.com
Thu Feb 22 12:23:00 GMT 2007


On 2/22/07, Alok kataria <alokkataria1@gmail.com> 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 gcc-help@gcc.gnu.org for this kind
of questions.
Your assembly statements are not valid 64bit asm but only work on 32bit.

Richard.



More information about the Gcc mailing list