Hi all! I'll try to explain my problem:
I have a function (func_A) with a local variable var_1 that calls another function (func_B), and this func_B with another local variable calls another function (func_C). Inside func_C I have another local variable. When this variable is modified, the value in var_1 in func_A is modified. Keil says that the compiler uses internal register for optimization and the overlay process should take care of this, however is not happening. I am using compiler version 8.12 and linker 6.11. Is there anything to do with the model I am using. I am lost here. Thanks for your help ! J
Thanks Dan. I cheched the code and that specific variable wasn't used again in the first function ( my mistake ) and of course the compiler used that "unused" variable for further local ones. That was the problem. Best regards and thanks again for your interest. Juan