From: Doug Evans <dje@transmeta.com>
To: Shehryar Humayun <shehryarhumayunkhan@yahoo.com>
Cc: cgen@sources.redhat.com
Subject: C-style assembly
Date: Sat, 07 Sep 2002 20:46:00 -0000 [thread overview]
Message-ID: <15738.51201.76375.295958@casey.transmeta.com> (raw)
In-Reply-To: <20020908032145.87766.qmail@web21207.mail.yahoo.com>
Shehryar Humayun writes:
> 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?
No effort has been put into supporting C style assembly language.
If you want to use cgen's assembler support,
I suggest writing the .cpu using "normal" assembly syntax and
write a separate program(/library) that converts C-style to normal-style.
next prev parent reply other threads:[~2002-09-08 3:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-07 20:21 Shehryar Humayun
2002-09-07 20:46 ` Doug Evans [this message]
2002-09-08 10:13 ` Shehryar Humayun
2002-09-08 10:53 ` Doug Evans
2002-09-08 12:07 ` Shehryar Humayun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15738.51201.76375.295958@casey.transmeta.com \
--to=dje@transmeta.com \
--cc=cgen@sources.redhat.com \
--cc=shehryarhumayunkhan@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).