Hi -
I don't know anything about Z80 assembler ("Welcome to the 80's" ;-)) or the Telemark assembler...
... but (as you certainly know), the Telemark manual is on-line here:
http://home.comcast.net/~tasm/tasmman.htm
You appear to be asking for *two* things:
a) Assembler macros (with arguments)
<= Telemark clearly supports this
b) ANSI C style "token pasting" (C uses "##", you're using "&")
<= It doesn't look like Telemark supports this
PS:
The manual gives this example:
Quote:
#DEFINE VAR1_LO (VAR1 & 255)
This statement would cause all occurrences of the string 'VAR1_LO' in the source to be substituted with '(VAR1 & 255)'.
This is *not* "token pasting" - it's simple argument substitution
|