Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/11/10 14:31
Read: times


 
#172337 - Code Size Reduction
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 functions to obtain optimal code size?

Thanks

List of 19 messages in thread
TopicAuthorDate
Code Size Reduction            01/01/70 00:00      
   Keil guidance            01/01/70 00:00      
   if you are not ...            01/01/70 00:00      
   Cross-post            01/01/70 00:00      
   Try Hitex's C51 Primer            01/01/70 00:00      
      pardon?            01/01/70 00:00      
         I guess ...            01/01/70 00:00      
            my guess            01/01/70 00:00      
               Erik, your guess is correct            01/01/70 00:00      
                  Your guess can't be correct            01/01/70 00:00      
                     but it can be the base of the statement            01/01/70 00:00      
      RE: The standard C51 program wastes a lot of memory            01/01/70 00:00      
   IAR Optimization            01/01/70 00:00      
      relative to Keil?            01/01/70 00:00      
         ! Apple 2 Apple            01/01/70 00:00      
      Apples and Oranges?            01/01/70 00:00      
         if 'identical' source, then ...            01/01/70 00:00      
            The MSP430 has a bigger instruction set            01/01/70 00:00      
               if it was mostly bit manipulation the 8052 may win.            01/01/70 00:00      

Back to Subject List