This is the mail archive of the cgen@sourceware.org mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Assembler syntax with embedded spaces


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

-






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]