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:54
Read: times


 
#172344 - Try Hitex's C51 Primer
Responding to: ???'s previous message
The above book gives very good advice.

There is little point in worrying about an 11k to 14k code size. Both will fit in a 16k flash memory.

If your intention was to run the code in a 12k AT89S8253 or similar, then you will have to do some work. Running in small model with occasional access to xdata should be dramatically smaller.

The standard C51 program wastes a lot of memory by skipping a large block.

David.

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