Re: suffix or operands invalid for

Frank Kotler <[email protected]>
Newsgroups gmane.linux.assembly
Organization N
Message-ID <[email protected]>
Kenton Brede wrote:
> I've done some scripting but don't consider myself a programmer.

Ah. "Denial". Don't worry, it isn't so bad when you get used to it. :)

> Here are the errors when I run "as power.s -o power.o":
> 
> power.s: Assembler messages:
> power.s:14: Error: suffix or operands invalid for `push'
... etc.

Your code... or Jonathan's... assembles silently and sweetly for me.

"as --version" reports:

GNU assembler 2.15.90.0.3 20040415
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i486-slackware-linux'.

What's yours?

Only thing I can suggest trying is dump the "l" from "pushl"/"popl" - 
but that should be fine! I'm stumped.

Best,
Frank

-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.