Quote Originally Posted by Charles Linquis View Post
PBPL has LONG (double-words) as a new data type. You don't need DIV32 when using PBPL. Just define your variables as LONGs and do the division.
Thanks Charles!

Yes I had one DIV32, commented it at got a bunch of errors (126) and warnings (220), 4 errors and 16 warnings . The errors:
Error[126] \PBP\PBPPI18L.LIB 722 : argument out of range (34218 not between 0 and 32767)
and the warnings (two kinds, for .LIB and .MAC):
Warning[220]\PBP\PBPPI18L.LIB 788: address exceeds maximum range for this processor.
Warning[220] c:\pbp\godiam.mac 1414: Address exceeds maximum range for this processor.

This processor is PIC18F4550.

So, what should I try next????