carterson2
Joined: 27 Aug 2006 Posts: 5 Location: Memphis
|
some shrinkage will occur |
Posted: Thu Aug 07, 2008 11:14 am |
|
|
Hi,
Can anyone help me shrink my code.
It used to fit in PIC16F877A, then I introduced some "float" variables,
now it appears to be too big. ugh...
The View->MemoryUsageGuage says
6153 Program Memory, Total:8192
1 Data Memory, Total: 368
I have looked thru View->DisassemblerListing and removed stuff.
I have used the #separate qualifier on most subroutines.
I compile with the following: (I have no idea what they do)
ccsc.exe main.c +FM +DF +LN +T -A +M -Z +Y=9 +EA -EW
Now, I am out of ideas..
I feel that I am missing some big piece of the code-optimization-puzzle.
Much thanks for any help,
jim |
|