Code optimization tips for 8-bit microcontrollers | サイプレス セミコンダクタ
Code optimization tips for 8-bit microcontrollers
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.