This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: as doesn't recognize "# line file"
- From: Nick Clifton <nickc at redhat dot com>
- To: magro <magro at hotpop dot com>
- Cc: BINUTILS Archive <binutils at sources dot redhat dot com>
- Date: 28 Jan 2003 12:09:39 +0000
- Subject: Re: as doesn't recognize "# line file"
- References: <20030128021843.41E4.MAGRO@hotpop.com>
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