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: abcxyz equ "abcxyz" Which also pastes the arguments together and makes a string out of them. I know how to do it in C using the ## token pasting operator and the # stringizing operators (and the fact that two adjacent strings are merged). But I only see the #v() form that would allow tokens to be pasted together (with an intervening number). After reading the MPASM manual I can't figure out how to do these. I hope this isn't an oversight. Thanks, -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu