Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: FR5739 variables

$
0
0

I don't have any MSP boards.  And I have CCS 5.4, not CCS 4.  But I was able to create that same project, and I have a guess as to what is happening.

The compiler builds with a default optimization level that is probably causing most of your confusion.  Statements get reordered, variables get assigned to registers, and the like.  You can disable all optimization by setting the compiler build option --opt_level=off.  Below I show a screen shot of what that looks like in CCS 5.4.  It is probably similar in CCS 4.

Thanks and regards,

-George


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>