Does any one know how to create a macro to concatenate 2 tokens such as below in assembly? #define A(func) A_##func() Anh
Ax51 understands C preprocessor syntax, so you could just use that. According to my glance at the manual, it looks like %*DEFINE (A(func)) (A%func) would also work.
%*DEFINE (A(func)) (A%func)
MACRO A func A_&func ENDM
MACRO A func
A MACRO func