??? 01/11/10 14:42 Read: times |
#172341 - Keil guidance Responding to: ???'s previous message |
Ram Bal said:
are there any documented best practices for coding? Yes - there is an appendix all about it at the end of the Keil C51 Manual: http://www.keil.com/support/m...c51_xc.htm Also best practices for assigning data, pdata and xdata to various memory and functions to obtain optimal code size? The thing to remember is that accessing DATA takes the least code; then IDATA; then PDATA; then XDATA. Obviously, your most-used variables should be in the most "economical" memory space... |
Topic | Author | Date |
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 |