We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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