bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: as 2.15 produces unbalanced parenthesis error, version 2.13 OK


From: Alan Modra
Subject: Re: as 2.15 produces unbalanced parenthesis error, version 2.13 OK
Date: Wed, 16 Feb 2005 08:51:49 +1030
User-agent: Mutt/1.4i

On Tue, Feb 15, 2005 at 05:06:01PM +0000, Hamilton, Ian wrote:
>       cmpl $(100/4), %eax
> 
> address@hidden temp]$ i386-elf-as -a test.S
> test.S: Assembler messages:
> test.S:2: Error: unbalanced parenthesis in operand 1.

For compatibility with other assemblers, '/' starts a comment on the
i386-elf target.  So you can't use division.  If you configure for
i386-linux (or any of the bsds, or netware), you won't have this
problem.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]