Author |
Message |
Topic: ROM, RAM and optimiser... |
TorAtle
Replies: 10
Views: 20897
|
Forum: General CCS C Discussion Posted: Tue May 04, 2004 9:01 am Subject: ROM, RAM and optimiser... |
http://home.c2i.net/toratlel/opt
Get opt.exe and save it in your project folder. To use the Count & Sort method, you will also need grep.exe and wc.exe, so download these too.
Grep.exe, wc.e ... |
Topic: ROM, RAM and optimiser... |
TorAtle
Replies: 10
Views: 20897
|
Forum: General CCS C Discussion Posted: Tue May 04, 2004 6:03 am Subject: ROM, RAM and optimiser... |
I have implemented the other 2 approaches I mentioned:
1) Count & sort - very good. Did better in my case than the flawed BruteForce method by 4 bytes...
2) Random - I won't say "better" or "w ... |
Topic: ROM, RAM and optimiser... |
TorAtle
Replies: 10
Views: 20897
|
Forum: General CCS C Discussion Posted: Mon May 03, 2004 6:34 pm Subject: ROM, RAM and optimiser... |
Sorry for failing to log in before my last post (above).
The utility I mentioned is now finished. First of all - the algorithm was flawed . It didn't go through all the combinations, not even ... |
Topic: ROM, RAM and optimiser... |
TorAtle
Replies: 10
Views: 20897
|
Forum: General CCS C Discussion Posted: Mon May 03, 2004 8:26 am Subject: ROM, RAM and optimiser... |
Not very easy to see, as the addresses at the beginning of each line differs from a certain point and thus makes everything after that point "different".
I have 5 int16 arrays (none of them large). ... |
Topic: ROM, RAM and optimiser... |
TorAtle
Replies: 10
Views: 20897
|
Forum: General CCS C Discussion Posted: Mon May 03, 2004 7:07 am Subject: ROM, RAM and optimiser... |
PIC16F877.
Question: when near the limits of RAM usage, why does ROM start to suffer? I am trying to understand what the optimiser is thinking. Scenario:
ROM=7361, RAM worst case=276
Introduc ... |
|