as doesn't recognize "# line file"

Nick Clifton nickc@redhat.com
Tue Jan 28 12:08:00 GMT 2003


Hi Magro,

>  echo \
>  '# 1 file.S
>  movw %al, %al' > file.s
>  gcc file.s
>  file.s: Assembler messages:
>  file.s:2: Error: `%al' not allowed with `movw'
> 
> Is this how it's supposed to behave?

Yes.  Try removing the '# 1 file.S' line and just assembling the movw
line.  You will still get the same error message.

Cheers
        Nick



More information about the Binutils mailing list