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
Perhaps you could use the trigraph for the octothorpe? (??=) Or the digraph? ($:) Or the backslash escape sequence? (\x23 or \043)
I had already tried the trigraph form and verified that it does not work, but stopped there.