| ??? 12/02/05 19:47 Read: times |
#104610 - Optimisation Responding to: ???'s previous message |
Remember that it takes a lot more code to access XDATA than direct RAM. Therefore you may be able to significantly reduce your code size by moving your most-frequently-used variables from XDATA into DATA.
You can easily identify your most-frequently-used variables with uVision by using the Code Browser, and sorting by the 'Uses' column. In one fairly large project, this saved a couple of Kbytes of code space! Disabling Integer Promotions can also help a lot. The benefits of all this do, of course, depend upon the nature of the existing code - YMMV. |
| Topic | Author | Date |
| In-circuit emulator | 01/01/70 00:00 | |
| emulator or debugger | 01/01/70 00:00 | |
| delicate??? | 01/01/70 00:00 | |
| Re | 01/01/70 00:00 | |
| re Phyton | 01/01/70 00:00 | |
| I think you need some expensive version | 01/01/70 00:00 | |
| Ceibo supports code banking | 01/01/70 00:00 | |
| are yoy using the DS ? | 01/01/70 00:00 | |
| Yes it is a DS-51 | 01/01/70 00:00 | |
| What's an emulator ( ICE)? | 01/01/70 00:00 | |
| a simple definition | 01/01/70 00:00 | |
| Reduce code size? | 01/01/70 00:00 | |
| ICE and optimization | 01/01/70 00:00 | |
| Good Point | 01/01/70 00:00 | |
| Optimisation | 01/01/70 00:00 | |
| Re: ICE | 01/01/70 00:00 | |
I can not speak for you, but evaluating | 01/01/70 00:00 |



