C and assembler can only commun icate via the linker to each other. So neither a #define in C nor an EQU in asm will be seen by the other.
Bob (feeling bad to spread bad news)
Found this to be interesting -
Looks like you could use conditionals in C to effect asm, although that was not the
topic of the link.
Depending on the compiler you use....
For HI-TECH, you should declare your variable in C like:
unsigned int foo;
And use it in assembly using: