public inbox for
 help / color / mirror / Atom feed
* gas now supports macros
@ 1995-08-21 11:53 Ian Lance Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 1995-08-21 11:53 UTC (permalink / raw)
  To: gas2

I have added support for macros to gas.  I did it by integrating some
of the code from gasp.

I wouldn't describe this as particularly complete, but it does seem to
work.  I would be interested in getting reactions, patches, and
suggestions for improvement.  It would be particularly nice if
somebody figured out a good way to put macro expansions into a
assembler listing.


Sample usage:

        .macro  sum from=0, to=5
        .long   \from
        .if     \to-\from
        sum     "(\from+1)",\to

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-08-21 11:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-08-21 11:53 gas now supports macros Ian Lance Taylor

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).