From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: gas2@cygnus.com Subject: gas now supports macros Date: Mon, 21 Aug 1995 11:53:00 -0000 Message-id: <199508211852.OAA18256@sanguine.cygnus.com> X-SW-Source: 1995/msg00156.html 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. Ian Sample usage: .macro sum from=0, to=5 .long \from .if \to-\from sum "(\from+1)",\to .endif .endm