As shown in figure, the debugging found int sum3 memory is R17: R16, b and c repeated occupies R16, caused b=170, c=- 86, could you tell me how to solve this problem?
Inside the ICC AVR I made the following Settings:
Can't figure out what's going on, the trouble can help under, learning
CodePudding user response:
Ignore the good, the general was optimized, will not affect the the final resultYou can change the optimization to the minimum
CodePudding user response:
Well, try once, only the assignment doesn't call the data are stored in random, is likely to be covered by other to invoke data, data when you need to call this function when it will be separately set store address