Here is part of the code: ORG 0x0B00 tab3: MOVLW High(tab3_data) ADDWF timhi,W MOVWF PCLATH MOVLW Low(tab3_data) ADDWF timlo,W BTFSC STATUS,C INCF PCLATH,F MOVWF PCL ; computed GOTO into data ; ------------------ tab3_data: ;; at 0x0B08 FILL 0x34F6, 0x0F07 - $ + 1 ; ---------------------------------------------- ORG 0x1000 ; PAGE 0-4095 allowed by assembler/linker tab4: MOVLW High(tab4_data) ADDWF timhi,W MOVWF PCLATH MOVLW Low(tab4_data) ADDWF timlo,W BTFSC STATUS,C INCF PCLATH,F MOVWF PCL ; computed GOTO into data ; ------------------ tab4_data: ;; at 0x1008 FILL 0x34F5, 0x1407 - $ + 1 ; ---------------------------------------------- ORG 0x1500 tab5: MOVLW High(tab5_data) ADDWF timhi,W MOVWF PCLATH MOVLW Low(tab5_data) ADDWF timlo,W BTFSC STATUS,C INCF PCLATH,F MOVWF PCL ; computed GOTO into data ; ------------------ tab5_data: ;; at 0x1508 FILL 0x34F5, 0x1907 - $ + 1 ; ---------------------------------------------- ; BALANCE DEFAULT 0x3FFF END
** The assembled code is OK, see NO errors. The only clue beyond the fact that the build barfs, is the *.map file: MPLINK 4.39, Linker Linker Error Map File - Created Fri Oct 23 20:25:02 2015*Warning* - This is only a partial map file due to a link time error. Only sections which were allocated prior to the error are shown below.
CODEPAGES: Memory Start End Section Address Size(Bytes)
------- ------ ------ ------- ------- --------- page 0x0000 0x0fff .org_0 0x0000 0x0000 .org_1 0x0000 0x0008 .org_2 0x0010 0x0056 .org_3 0x0100 0x0810 .org_4 0x0600 0x0810 .org_5 0x0b00 0x0812
** END COPYTherefore, there is a severe page range problem that needs fixing. How? (thanks in advance)