Hello,
Try the following approach -
Within a .c or .h file, use the following global variable definition -
extern char count @0x0081;
Then near the top of the .asm file in which you will be using the variable, include the line -
XREF count
Then simply refer to the variable name as required.
Regards,
Mac