Hmm...
I've written all the 32Bit calculation code now using PBPL and Longs, where they are needed (well nearly everywhere).
Right away I got a list of very strange compiler errors like this
c:/pbp/pbppi18l.lib 695 : Argument out of range ( 4168 not between 0 and 4095)
After having a look at line 695 of that file I still had no clue. So I took a punt that I might have run out of PIC code space, and yes that seems to be right. If I select a PIC in the same sub family with more code space the code complies error free....
Longs sure burn code space like it was endless resource.
Off to find a another bigger PIC again. This will be the 4th PIC tried for this project.
Onward and upwards !!
PS. Is there a simple to use utility, MCS add-on or method that will show me the amount of RAM space my code is using when compiled (as well as program space) ?
Bookmarks