spu-as input syntax/parser

Timo Schneider timo.schneider@s2004.tu-chemnitz.de
Sun Sep 23 15:59:00 GMT 2007


Hello,

I am currently writing a program which has to parse Cell BE SPU assembly 
generated, for example, by spu-gcc -S. This is exactly the same that 
spu-as does.

So I thougt I could find the GNU assembly grammar in (E)BNF or alike and 
build a simple parser with flex/bison. Unfortunately I didn't find such a 
grammer neighter in binutils/gas source nor in the binutils/gas manual 
(only a description of the syntax in text form was available there).

Maybe one of you can tell me where to find the binutils/gas input grammar?

Regards,
Timo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20070923/b07b55bb/attachment.sig>


More information about the Binutils mailing list