On Tue, Feb 15, 2005 at 05:06:01PM +0000, Hamilton, Ian wrote:
>       cmpl $(100/4), %eax
> 
> [EMAIL PROTECTED] 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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to