This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with multi files project and header file

Hi,

I have such a problem with my asembly project.I divided it into few files with only one file of variables and constants definitions which are common for all files (all files include line - #include header.h). When I tried to compile it, the compiler seems to reserve space in RAM for defined variables but it reserve it few times (for every asembly file). Why is that?
I bypassed this problem by useing PUBLIC and EXTERN definitions but this is not the right way for me to handle with it.I believe that there's simpler way to solve it.

Thanks

0