Bug 1199 - Unbalanced parenthesis with fraction sign
Summary: Unbalanced parenthesis with fraction sign
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.16
: P2 critical
Target Milestone: ---
Assignee: unassigned
Depends on:
Reported: 2005-08-13 13:38 UTC by David Decotigny
Modified: 2005-08-21 17:28 UTC (History)
1 user (show)

See Also:
Host: x86_64-unknown-linux-gnu
Target: i586-pc-elf
Build: x86_64-unknown-linux-gnu
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description David Decotigny 2005-08-13 13:38:40 UTC
When I try to compile the following assembler code (simplest example I found):
movl $(1 / 2), %eax
I get:
shell# i586-pc-elf-as a.s                                                      
a.s: Assembler messages:
a.s:2: Error: unbalanced parenthesis in operand 1.
zsh: exit 1     i586-pc-elf-as a.s

A workaround is to use the '>>' operator (which is hopefully possible for me).
Comment 1 H.J. Lu 2005-08-21 17:28:58 UTC
`/' starts a comment when configured for i586-pc-elf. i586-linux works.