C51: My Program code is distributed over multiple files, I want to access a variable declared in another file.
You probably mean defined in another file where storage is allocated for it.
Create an extern declaration for the variable.
c-faq.com/.../decldef.html