This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
C-style assembly
- From: Shehryar Humayun <shehryarhumayunkhan at yahoo dot com>
- To: cgen at sources dot redhat dot com
- Date: Sat, 7 Sep 2002 20:21:45 -0700 (PDT)
- Subject: C-style assembly
Hi,
The DSP chip I am working on has an assembly which has
a c-style syntax, e.g. to add two registers r1 and r2
and put the result in r1, the syntax is
r1 = r1 + r2
Hence the mnemonic doesn't come first. Does any one
know of a chip which has a c-style assembly? Can any
one give me an idea about how I should describe my
instructiions using RTL in the .cpu file for such a
syntax?
Thanks in advance.
Regards
Shehryar
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com