The C51 pre-processor treats the "#" character as the "Stringize" operator. How do I override this operator when desired? For example:
#define X mov A,#10
mov A,10
mov A,#10
Thank you Oleg for your useful work-arounds. I have reverted to the 'macro' directive for the subject piece of code, although we will need to maintain separate versions for different assemblers and compilers, which is what we were trying to avoid.