This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Re: Assembler syntax with embedded spaces
- From: Dave Brolley <brolley at redhat dot com>
- To: Will Newton <will dot newton at imgtec dot com>
- Cc: cgen at sources dot redhat dot com
- Date: Tue, 08 Jan 2008 10:32:11 -0500
- Subject: Re: Assembler syntax with embedded spaces
- References: <0D107966AF6D79418315B7C5549F4B5164357E@lemail1.le.imgtec.org>
CGEN will likely have problems with a prefix containing whitespace, i.e.
'fd '. You will probably have to code 2 versions of the insn(s), one
with the prefix and one without. pmacros may be useful for you here in
order to reduce duplicate typing.
I hope this helps,
Dave
Will Newton wrote:
Hi all,
Is it possible to use CGEN to generate an assembler/disassembler for an
assembler syntax with whitespace embedded in mnemonics, e.g.:
FD ABS FX.0,FX.1
Where "FD ABS" is the mnemonic (ABS) plus a prefix (FD). Currently my
assembler says:
unrecognized form of instruction `fd ABS FX.0,FX.1'
Thanks,
-
This message is subject to Imagination Technologies' e-mail terms: http://www.imgtec.com/e-mail.htm
-