You are here

Code optimization tips for 8-bit microcontrollers | 赛普拉斯半导体

Code optimization tips for 8-bit microcontrollers

最近更新: 
2009 年 4 月 10 日

You are the project leader for a highly successful consumer product. One day you are asked to upgrade all of the devices in the field to add the latest "must have" feature. However, when you attempt to compile the new code you see the dreaded message "Program Memory Overflow". You've already turned on all of the optimizations in the compiler to make the last upgrade fit. Now you're stuck. Here are optimization techniques that have saved designers up to 10% of their code size, allowing new features and bug fixes to fit into program memory that is always just a bit too small.  To read more on this topic visit EDN.

翻译文档仅作参考之用。我们建议您在参与设计开发时参考文档的英语版本。