Bug 1199

Summary: Unbalanced parenthesis with fraction sign
Product: binutils Reporter: David Decotigny <david.decotigny>
Component: gasAssignee: unassigned
Status: RESOLVED WONTFIX    
Severity: critical CC: bug-binutils
Priority: P2    
Version: 2.16   
Target Milestone: ---   
Host: x86_64-unknown-linux-gnu Target: i586-pc-elf
Build: x86_64-unknown-linux-gnu Last reconfirmed:

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.