At 12:30 PM 2/20/03 -0800, Ned Konz wrote: >Say I want to make a MPASM macro that will be invoked as: > > MyMacro abc,xyz > >and will generate the following code: > >abcxyz equ 123 > >That is, it pastes its two arguments together to make a label. Is this >possible in MPASM? How about: This may not help, but will #define work for you? I recall that I tried in vain to make a macro do something out of the ordinary but was able to get #define to do what I wanted. Don't recall what it was, though. dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 19 years of Engineering Innovation (1984 - 2003) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu