We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
We have a software we ported from MSP430 to 8051 using Keil compiler. On MSP430 using IAR the code size was only 11K. However in Keil assigning data, pdata and xdata to various segments we are only able to get it down to 14K.
In this kind of segmented memory hardware (data, pdata, xdata) are there any documented best practices for coding? Also best practices for assigning data, pdata and xdata to various memory and funnctions to obtain optimal code size?
Thanks