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.
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.