Ladies & Gents,

I spent the weekend figuring out a workable code for using a DS1302 as a countdown timer. Unfortunately, everytime I attempt to compile I get the following:

Code:
Error[126]   C:\PBP\PBPPIC14.LIB 556 : Argument out of range (1032 not between 0 and 1023)
Warning[220] C:\PBP\PBPPIC14.LIB 766 : Address exceeds maximum range for this processor.
Warning[220] C:\PBP\PBPPIC14.LIB 767 : Address exceeds maximum range for this processor.
Warning[220] C:\CODE\COUNTDOWN TIMER CODE 011809.MAC 83 : Address exceeds maximum range for this processor.
Warning[220] C:\CODE\COUNTDOWN TIMER CODE 011809.MAC 84 : Address exceeds maximum range for this processor.
Warning[220] C:\PBP\PBPPIC14.LIB 781 : Address exceeds maximum range for this processor.
Warning[220] C:\CODE\COUNTDOWN TIMER CODE 011809.MAC 37 : Address exceeds maximum range for this processor.
Warning[220] C:\PBP\PBPPIC14.LIB 733 : Address exceeds maximum range for this processor.
And so on.

I'm using a PIC16F676 and I've modified the config bits slightly by modifying the .INC file directly:

Code:
;****************************************************************
;*  16F676.INC                                                  *
;*                                                              *
;*  By        : Leonard Zerman, Jeff Schmoyer                   *
;*  Notice    : Copyright (c) 2003 microEngineering Labs, Inc.  *
;*              All Rights Reserved                             *
;*  Date      : 11/06/03                                        *
;*  Version   : 2.45                                            *
;*  Notes     :                                                 *
;****************************************************************
        NOLIST
    ifdef PM_USED
        LIST
        include 'M16F676.INC'	; PM header
        device  pic16F676, intrc_osc, wdt_on, mclr_on, protect_off
        XALL
        NOLIST
    else
        LIST
        LIST p = 16F676, r = dec, w = -302
        INCLUDE "P16F676.INC"	; MPASM  Header
        __config _CPD_OFF & _CP_OFF & _BODEN_OFF & _MCLRE_ON & _PWRTE_ON & _WDT_OFF & _INTRC_OSC_NOCLKOUT
        NOLIST
    endif
        LIST
If I comment out certain portions of the code, it compiles fine. I thought at first that I might have just coded something wrong, but there are identical commands not commented out that seem to work fine. I don't know if I've run out of space, but I suspect I have a setting wrong somewhere.

I've done my best to search the forum for these errors, but I'm thrown for a bit of a loop as every case seems to have a different solution and the solutions I've seen don't appear clear cut. From what I've read it might be the MPASM version, a hidden setting somewhere in PBP or MPLAB, or gremlins. Any advice is greatly appreciated.