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

Register Coloring OPTIMIZATION question

Hi, everyone: I am using Keil C251 verison4.53d, and the Register Coloring OPTIMIZATION compiler option does take effect indeed, code size decreased when it is used. In my Application, there exist timer interrupt when program runs. So I am not sure if the interrupt routine will corrupt the running task function that may be optimized by register coloring option. Anyone knows C251 compiler has take it into account? I am also interested in how the compiler deal with the situation mentioned above. If C251 can not avoid the hidden problem, is there any method exist, that feasible solve this collision.

Thanks.

Parents Reply Children
No data