Re: suffix or operands invalid for
Frank Kotler <[email protected]> Fri, 22 Dec 2006 07:51:07 -0500
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| 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