Quote Originally Posted by mr.sneezy View Post
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 !!
Hi,

Looks linked to too small a program memory ... in 18 pins ... the 1320 exists in 8k ...

Alain