Thank you so much for your help. Have a great 2017!Yeah, it doesn't look like a 'text substitution' macro was part of the standard 8051 assembler definition. Poking around I found these different ways of doing the same thing:
LIT is used by Kiel/Franklin et. al.
%DEFINE is used by Altium - note that the % has to be in column 1.
Kiel C uses the sfr construct which may or may not work in assembler:
Pretty sure that you'll need to use some text substitution facility at the preprocessor level since R5 is a SFR.
Sorry I don't have anything more specific. I've not used 8051 for a long time and when I did I used Keil and Archemedies.
Good luck.