[FAQ]MPLINK error: section '<sectionname>' can not fit the absolute section

Page: 123 > Showing page 1 of 3
Author
kerryb
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2005/03/25 13:04:47
  • Location: New Zealand
  • Status: offline
2005/06/09 01:33:23 (permalink)
0

MPLINK error: section '<sectionname>' can not fit the absolute section

I installed MPLAB IDE v7.11 and I am working through the Basic Tutorial in the MPLAB IDE Quick Start Guide DS51281D. I successfully used the Project Wizard to create a project around the 18F452 as shown in the Quick Start Guide.
I then attempted to use the Project Wizard to create a project based around the 16F84A. The build failed, and here is the resultant report.

Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPAsmWin.exe" /q /p16F84A "f84atmpo.asm" /l"f84atmpo.lst" /e"f84atmpo.err" /o"f84atmpo.o"
Executing: "C:\Program Files\Microchip\MPASM Suite\MPLink.exe" "16f84a.lkr" "D:\Kerrys\Microchip Projects\f84atmpo.o" /o"T1 16F84A.cof"
MPLINK 3.93, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - section 'INT_VECTOR' can not fit the absolute section. Section 'INT_VECTOR' start=0x00000004, length=0x00000010
Errors : 1
BUILD FAILED: Mon Jun 06 14:59:42 2005


What must I do to get a successful build?

TIA
post edited by JasonK - 2011/02/08 19:22:58

kerryb
#1

42 Replies Related Threads

    Deenayd
    Super Member
    • Total Posts : 898
    • Reward points : 0
    • Joined: 2004/09/08 06:15:13
    • Location: Poland
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2005/06/09 01:47:45 (permalink)
    0
    Well, I'd say error message you've got says very much about the problem: Section INT_VECTOR can't fit at address 0x0004. It is supposed to take 0x0010 bytes (or words - check with the documentation).

    Take a look at generated map file to check what's occupying those locations and decide which section should be placed where it is now, and which one should be moved.

    Note: PIC18F's interrupt vector is 0x0008, not 0x0004. I think you should check if you're properly selecting processors. It looks like you're using a template designed for PIC16F84.

    Slawek Piotrowski
    Rejestracja Czasu Pracy Ewidencja Czasu Pracy
    #2
    DEKTRON
    Super Member
    • Total Posts : 1182
    • Reward points : 0
    • Joined: 2003/11/07 12:35:05
    • Location: Calne, Wiltshire, England
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2005/06/09 20:12:51 (permalink)
    0
    Maybe also check to see if the .asm source file is ABSOLUTE (that is if it includes an org statement and absolute addresses), if so you should remove the .lkr linker script from the project. The linker is only needed when assembling RELOCATABLE code, or a project with more than one source file. -Phil.
    #3
    wunger
    New Member
    • Total Posts : 28
    • Reward points : 0
    • Joined: 2004/06/21 06:47:24
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2005/06/10 11:01:14 (permalink)
    0
    Hello:

    The solution is that you have to modify the linker file.

    If there is a vector IRQ, the prog. counter will jump tp some location in prog. memory, say 0X04. But if you're not using interrupts you will have to modify the start address in the linker file.

    For an example, check out the file 16f684tempo.asm. There is an example of how to modify the linker.

    Also you maybe able to leave out the linker if you plan to use only 1 asm file.

    Good Luck
    #4
    kerryb
    New Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2005/03/25 13:04:47
    • Location: New Zealand
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2005/06/10 19:17:19 (permalink)
    0
    Build succeeded.

    I found the solution in the new MPASM MPLINK MPLIB User's Guide DS33014H page 199 to 201. It was necessary to modify the 16f84a.lkr file thus:-

    //CODEPAGE NAME=vectors START=0x0 END=0x4 PROTECTED
    CODEPAGE NAME=vectors START=0x0 END=0x1F PROTECTED
    //CODEPAGE NAME=page START=0x5 END=0x3FF
    CODEPAGE NAME=page START=0x20 END=0x3FF

    I don,t need to use relocatable code but I was interested to find out why the build failed.

    Thank you all for your help and taking the time to reply.

    kerryb
    #5
    KajitaJ2
    Administrator
    • Total Posts : 50
    • Reward points : 0
    • Joined: 2003/11/14 10:11:34
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2005/09/23 10:05:01 (permalink)
    0
    Also see these related threads.
    post edited by JasonK - 2009/03/12 11:31:26
    #6
    Guest
    Super Member
    • Total Posts : 80499
    • Reward points : 0
    • Joined: 2003/01/01 00:00:00
    • Location: 0
    • Status: online
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2006/02/15 13:56:00 (permalink)
    0
    Funny,
    I just had this error today and could not find an easy google answer.  But, after a few tear jerking moments, I realized the IDE gives you a way to check your work.
     
    Before I got something like this:
     
       MPLINK 3.94, Linker
       Copyright (c) 2005 Microchip Technology Inc.
       Error - section '.org_1' can not fit the absolute section. Section '.org_1' start=0x00000004, length=0x00000004
       Errors    : 1
     
    Then, assemble each file individually, and you might  find that some of the microchip files had the "END" command commented out.
     
    This is what I have now :)
       MPLINK 3.94, Linker
       Copyright (c) 2005 Microchip Technology Inc.
       Errors    : 0
       MP2COD 3.94, COFF to COD File Converter
       Copyright (c) 2005 Microchip Technology Inc.
       Errors    : 0
       MP2HEX 3.94, COFF to HEX File Converter
       Copyright (c) 2005 Microchip Technology Inc.
       Errors    : 0
     
    Hope this helps someone,
    #7
    Guest
    Super Member
    • Total Posts : 80499
    • Reward points : 0
    • Joined: 2003/01/01 00:00:00
    • Location: 0
    • Status: online
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2006/03/16 15:26:17 (permalink)
    0
    I get the same error message as kerryb in his original post.

    I applied his fix as described in post#4. That worked until more code lines were added. When the number of code lines exceeded 20 the build failed again with the same error message. Huh ??? What gives? Does the code space start point need to be pushed further down as more lines are added? Won't that eventually reduce program capacity?

    rivers
    post edited by rivers - 2006/03/22 12:50:02
    #8
    GregToombs
    Starting Member
    • Total Posts : 39
    • Reward points : 0
    • Joined: 2006/11/25 23:48:38
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2006/12/01 00:34:55 (permalink)
    0
    rivers cites an obvious irritation with the solution from the user's guide. As your interrupt section grows, you'll need to continually modify the end of the interrupt section address in the .lkr. It's also not ideal, in that there will often be some gap of wasted addresses between the end of your interrupt code and the beginning of the next section (unless you modify it to fit every single time you change your code, which would be tedious).

    An alternate solution is:


    (in your .lkr)

    // (...)

    // Code pages.

    CODEPAGE    NAME=cod_reset        START=0x0000    END=0x0003    PROTECTED
    CODEPAGE    NAME=cod_page0_int    START=0x0004    END=0x07FF
    CODEPAGE    NAME=cod_page1        START=0x0800    END=0x0FFF
    CODEPAGE    NAME=cod_page2        START=0x1000    END=0x17FF
    CODEPAGE    NAME=cod_page3        START=0x1800    END=0x1FFF

    // Code page sections.

    SECTION     NAME=cods_reset       ROM=cod_reset
    SECTION     NAME=cods_page0_int   ROM=cod_page0_int
    SECTION     NAME=cods_page1       ROM=cod_page1
    SECTION     NAME=cods_page2       ROM=cod_page2
    SECTION     NAME=cods_page3       ROM=cod_page3


    (in your .asm)

    cods_reset code
        goto codl_boot

    cods_page0_int code
        ; (lots of interrupt code...)
        retfie

    cods_boot code
    codl_boot:
        ; (the rest of your boot code...)


    As long as you make sure to put your interrupt code at the beginning of the page 0/interrupt section, the linker will happily accomodate an interrupt section of any size, and will shove other code around as necessary.

    Greg Toombs
    #9
    cscotthendry
    Super Member
    • Total Posts : 246
    • Reward points : 0
    • Joined: 2006/09/13 23:37:32
    • Location: Brisbane, Australia
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2006/12/11 18:13:38 (permalink)
    0
    Hi:

    I have the same (or similar) problem to what this discussion is about but can't seem to resolve it. Here's the relevant snippets


    Here's the section name in the code
    CANLib  CODE
    ;****************************************************************************
    ;* Function:            void CANPrTxInit(BYTE SJW,
    ;............code generated by maestro continues from here

    Here's the section defined in the linker script
    CODEPAGE   NAME=vectors    START=0x0            END=0x1A           PROTECTED
    CODEPAGE   NAME=page       START=0x1D           END=0x3FF    
    CODEPAGE   NAME=LibCode    START=0x400  END=0x3FFF    PROTECTED
    CODEPAGE   NAME=idlocs     START=0x200000       END=0x200007       PROTECTED
    CODEPAGE   NAME=config     START=0x300000       END=0x30000D       PROTECTED
    CODEPAGE   NAME=devid      START=0x3FFFFE       END=0x3FFFFF       PROTECTED
    CODEPAGE   NAME=eedata     START=0xF00000       END=0xF000FF       PROTECTED
    SECTION    NAME=CANLib     ROM=LibCode

    here's the error I get when I try to assemble

    MPLINK 4.03, Linker
    Copyright (c) 2006 Microchip Technology Inc.
    Error - section 'CANLIB' can not fit the section. Section 'CANLIB' length=0x0000079e
    Errors    : 1
    BUILD FAILED: Tue Dec 12 11:02:33 2006



    What the?[:@]

    When I look at the disassembly listing, the CANLib code has been assembled starting at address 0x20 instead of 0x400 like I thought it should. Obviously, that is why the linker is complaining, but why is my code assembled at the wrong address? Do I have to explicitly ORG it as well as section it?
    Heeeeeelp!


    Cracked It![8D]
    For anyone who is interested, It seems that the linker is VERY case sensitive. The offending code is

    SECTION    NAME=CANLib     ROM=LibCode

    If it is changed to

    SECTION    NAME=CANLIB     ROM=LibCode

    It works! Couldn't find anything about case sensitivity in the MPLINK manual though[:@]
     
    A final edit so everyone knows: When case sensitivity is disabled for MPASM through MPLAB, the assembler uppercases the section names. Then when the linker picks up the object module, it tries to match the name in the module to the names specified in the linker script case sensitively. In my situation "CANLIB" from the object module, did not match "CANLib" in the linker script.
     
    So now you knowgrin
     
    Moral of the story is: If you set the assembler to ignore case, you may run afoul of the linker if you're not careful with your typing
    post edited by cscotthendry - 2006/12/12 16:29:38
    #10
    microchip_ramya
    New Member
    • Total Posts : 1
    • Reward points : 0
    • Joined: 2006/12/28 15:40:40
    • Location: 0
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2006/12/28 15:45:48 (permalink)
    0
    I am getting similar error for 18f452.
    Error - section '.org_0' can not fit the absolute section. Section '.org_0' start=0x00000008, length=0x00000110
    Errors    : 1
    May I know the reason for it.
     
    Linker file looks like this.
     
    LIBPATH  .
    CODEPAGE   NAME=vectors  START=0x0        END=0x29       PROTECTED
    CODEPAGE   NAME=page     START=0x2A       END=0x7DBF
    CODEPAGE   NAME=debug  START=0x7DC0     END=0X7FFF     PROTECTED
    CODEPAGE   NAME=idlocs   START=0x200000   END=0x200007   PROTECTED
    CODEPAGE   NAME=config   START=0x300000   END=0x30000D   PROTECTED
    CODEPAGE   NAME=devid    START=0x3FFFFE   END=0x3FFFFF   PROTECTED
    CODEPAGE   NAME=eedata   START=0xF00000   END=0xF000FF   PROTECTED
    ACCESSBANK  NAME=accessram  START=0x0      END=0x7F
    DATABANK    NAME=gpr0       START=0x80     END=0xFF
    DATABANK    NAME=gpr1       START=0x100    END=0x1FF
    DATABANK    NAME=gpr2       START=0x200    END=0x2FF
    DATABANK    NAME=gpr3       START=0x300    END=0x3FF
    DATABANK    NAME=gpr4       START=0x400    END=0x4FF
    DATABANK    NAME=gpr5       START=0x500    END=0x5F3
    DATABANK    NAME=dbgspr     START=0x5F4    END=0x5FF    PROTECTED
    ACCESSBANK  NAME=accesssfr  START=0xF80    END=0xFFF    PROTECTED
    SECTION     NAME=STARTUP    ROM=vectors
    SECTION     NAME=PROG1      ROM=page

     
     
    ORIGINAL: brian_in_allen

    Funny,
    I just had this error today and could not find an easy google answer.  But, after a few tear jerking moments, I realized the IDE gives you a way to check your work.

    Before I got something like this:

      MPLINK 3.94, Linker
      Copyright (c) 2005 Microchip Technology Inc.
      Error - section '.org_1' can not fit the absolute section. Section '.org_1' start=0x00000004, length=0x00000004
      Errors    : 1

    Then, assemble each file individually, and you might  find that some of the microchip files had the "END" command commented out.

    This is what I have now :)
      MPLINK 3.94, Linker
      Copyright (c) 2005 Microchip Technology Inc.
      Errors    : 0
      MP2COD 3.94, COFF to COD File Converter
      Copyright (c) 2005 Microchip Technology Inc.
      Errors    : 0
      MP2HEX 3.94, COFF to HEX File Converter
      Copyright (c) 2005 Microchip Technology Inc.
      Errors    : 0

    Hope this helps someone,

    #11
    kk90
    New Member
    • Total Posts : 1
    • Reward points : 0
    • Joined: 2007/02/09 07:32:40
    • Location: 0
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2007/02/09 07:37:48 (permalink)
    0
    hey guys i need help!! i'm using the ZigBee Stack from microchip for pic18f4620 microcontroller. i'm trying to compile the TempDemoCoord Code which comes with the stack but getting this error. i dont know the reason why i'm getting this. can anyone help me please?
     
    Executing: "C:\MCC18\bin\mplink.exe" /l"C:\MCC18\lib" "F:\TempDemoCoord\zLink.lkr" "F:\TempDemoCoord\Console.o" "F:\TempDemoCoord\MSPI.o" "F:\TempDemoCoord\sralloc.o" "F:\TempDemoCoord\SymbolTime.o" "F:\TempDemoCoord\zAPS.o" "F:\TempDemoCoord\ZigbeeTasks.o" "F:\TempDemoCoord\zMAC_CC2420.o" "F:\TempDemoCoord\zNVM.o" "F:\TempDemoCoord\zNWK.o" "F:\TempDemoCoord\zPHY_CC2420.o" "F:\TempDemoCoord\zZDO.o" "F:\TempDemoCoord\myZigBee.o" "F:\TempDemoCoord\TempDemoCoord.o" /o"TempDemoCoord.cof" /M"TempDemoCoord.map"
    MPLINK 4.02, Linker
    Copyright (c) 2006 Microchip Technology Inc.
    Error - section '.code_TempDemoCoord.o' can not fit the section. Section '.code_TempDemoCoord.o' length=0x0000074c
    Errors    : 1
     
    please help me someone...
    Thanks,
    Kav
    #12
    eriklidgren
    Super Member
    • Total Posts : 1308
    • Reward points : 0
    • Joined: 2003/11/07 12:45:23
    • Location: Sweden
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2007/02/09 07:52:39 (permalink)
    0
    You are out of program memory. Have you enabled procedural abstraction optimization? I don't think that it will fit otherwise.
    #13
    antoonio
    Starting Member
    • Total Posts : 33
    • Reward points : 0
    • Joined: 2007/01/06 03:23:05
    • Location: Sofia, BG
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2007/02/15 03:16:27 (permalink)
    0
    I had the same problem - there is mistake with the linker , just use   ORG 0X05   for interrupt section  , because if you use ORG 0X04  - that starts the section on addr 0X04 and that's the end - you can't place any code :)
    #14
    antoonio
    Starting Member
    • Total Posts : 33
    • Reward points : 0
    • Joined: 2007/01/06 03:23:05
    • Location: Sofia, BG
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2007/02/15 03:20:42 (permalink)
    0
    or the alternate solution is to change  

    CODEPAGE    NAME=cod_reset        START=0x0000    END=0x0004    PROTECTED

    to

    CODEPAGE    NAME=cod_reset        START=0x0000    END=0x0003    PROTECTED

    in .lkr - file
    #15
    RSABear
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2007/09/06 05:10:19
    • Location: Johannesburg, South Africa
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2007/09/06 05:31:52 (permalink)
    0
    Hello, I also have a MPLINK problem I can't resolve. Reading the manual and these posts indicates I have to edit the linker file, but I don't know where to start. Your help will be much appreciated. The source file is "SUPMP.ASM" for Luhan Monat's Super Probe 16 on http://mondo-technology.com/ 

    - '.org_2' has got me?!? The only changes I ever had to make to a linker file was to accomodate the ISR.

    The LINKER message is as follows:
    MPLINK 4.06, Linker
    Copyright (c) 2006 Microchip Technology Inc.
    Error - section '.org_2' can not fit the absolute section. Section '.org_2' start=0x00000004, length=0x00000c1a
    Errors    : 1

    and the 16f870.lkr file is:

    // Sample linker command file for 16F870
    // $Id: 16f870.lkr,v 1.5.16.1 2005/11/30 15:15:29 curtiss Exp $
    LIBPATH  .
    CODEPAGE   NAME=vectors  START=0x0      END=0x4      PROTECTED
    CODEPAGE   NAME=page0    START=0x5      END=0x7FF
    CODEPAGE   NAME=.idlocs  START=0x2000   END=0x2003   PROTECTED
    CODEPAGE   NAME=.config  START=0x2007   END=0x2007   PROTECTED
    CODEPAGE   NAME=eedata   START=0x2100   END=0x213F   PROTECTED
    DATABANK   NAME=sfr0     START=0x0      END=0x1F     PROTECTED
    DATABANK   NAME=sfr1     START=0x80     END=0x9F     PROTECTED
    DATABANK   NAME=sfr2     START=0x100    END=0x10F    PROTECTED
    DATABANK   NAME=sfr3     START=0x180    END=0x18F    PROTECTED
    SHAREBANK   NAME=gprnobnk0     START=0x20     END=0x6F
    SHAREBANK   NAME=gprnobnk0     START=0x120    END=0x16F
    SHAREBANK   NAME=gprnobnk1     START=0xA0     END=0xBF
    SHAREBANK   NAME=gprnobnk1     START=0x1A0    END=0x1BF
    SHAREBANK  NAME=gprnobnk2 START=0x70     END=0x7F
    SHAREBANK  NAME=gprnobnk2 START=0xF0     END=0xFF
    SHAREBANK  NAME=gprnobnk2 START=0x170    END=0x17F
    SHAREBANK  NAME=gprnobnk2 START=0x1F0    END=0x1FF
    SECTION    NAME=STARTUP  ROM=vectors    // Reset and interrupt vectors
    SECTION    NAME=PROG1    ROM=page0      // ROM code space - page0
    SECTION    NAME=IDLOCS   ROM=.idlocs    // ID locations
    SECTION    NAME=DEEPROM  ROM=eedata     // Data EEPROM

    Thank you in advance...
    post edited by RSABear - 2007/09/06 05:34:29
    #16
    Olin Lathrop
    Super Member
    • Total Posts : 7463
    • Reward points : 0
    • Joined: 2004/02/26 17:59:01
    • Location: Littleton Massachusetts
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2007/09/06 07:18:04 (permalink)
    0
    CODEPAGE   NAME=vectors  START=0x0      END=0x4      PROTECTED
    CODEPAGE   NAME=page0    START=0x5      END=0x7FF

    Should be just
    CODEPAGE   NAME=page0    START=0      END=0x7FF
    This comes up regularly due to the brain dead standard linker files that come with MPLAB.  For a detailed discussion see http://forum.microchip.com/fb.aspx?m=229211.
    #17
    RSABear
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2007/09/06 05:10:19
    • Location: Johannesburg, South Africa
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2007/09/07 01:22:36 (permalink)
    0
    Hi Olin - your proposed change gives the following message:
     
    MPLINK 4.06, Linker
    Copyright (c) 2006 Microchip Technology Inc.
    Error - undefined CODEPAGE 'vectors' for SECTION 'STARTUP'
    Errors    : 1
     
    I have also had help from the source of the code - simply remove the linker script. As the code does not use any Libraries it compiles to a HEX file. My problem solved by avoidance for this project.
     
     
    #18
    DarioG
    Scheisse Menschen
    • Total Posts : 52256
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: hi there
    • Status: online
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2007/09/07 01:47:07 (permalink)
    0
    Not sure, but also any reference to "vectors" in the code should be removed.

    Dario Greggio
    --
    Wouldn't it be wonderful, if you lost one son for every promise you don't keep?
    #19
    RSABear
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2007/09/06 05:10:19
    • Location: Johannesburg, South Africa
    • Status: offline
    RE: MPLINK error: section '&lt;sectionname&gt;' can not fit the absolute section 2007/09/07 04:10:51 (permalink)
    0
    You are so correct...
     
    MPLINK 4.06, Linker
    Copyright (c) 2006 Microchip Technology Inc.
    Errors    : 0
    MP2COD 4.06, COFF to COD File Converter
    Copyright (c) 2006 Microchip Technology Inc.
    Errors    : 0
    MP2HEX 4.06, COFF to HEX File Converter
    Copyright (c) 2006 Microchip Technology Inc.
    Errors    : 0
    Loaded C:\Projects\Eagle\Super Probe\Code_1\Super_Probe.cof.
    BUILD SUCCEEDED: Fri Sep 07 13:12:10 2007

    The file for reference:
     
    // Sample linker command file for 16F870
    // $Id: 16f870.lkr,v 1.5.16.1 2005/11/30 15:15:29 curtiss Exp $
    LIBPATH  .
    //CODEPAGE   NAME=vectors  START=0x0      END=0x4      PROTECTED
    //CODEPAGE   NAME=page0    START=0x5      END=0x7FF
    CODEPAGE   NAME=page0    START=0      END=0x7FF
    CODEPAGE   NAME=.idlocs  START=0x2000   END=0x2003   PROTECTED
    CODEPAGE   NAME=.config  START=0x2007   END=0x2007   PROTECTED
    CODEPAGE   NAME=eedata   START=0x2100   END=0x213F   PROTECTED
    DATABANK   NAME=sfr0     START=0x0      END=0x1F     PROTECTED
    DATABANK   NAME=sfr1     START=0x80     END=0x9F     PROTECTED
    DATABANK   NAME=sfr2     START=0x100    END=0x10F    PROTECTED
    DATABANK   NAME=sfr3     START=0x180    END=0x18F    PROTECTED
    SHAREBANK   NAME=gprnobnk0     START=0x20     END=0x6F
    SHAREBANK   NAME=gprnobnk0     START=0x120    END=0x16F
    SHAREBANK   NAME=gprnobnk1     START=0xA0     END=0xBF
    SHAREBANK   NAME=gprnobnk1     START=0x1A0    END=0x1BF
    SHAREBANK  NAME=gprnobnk2 START=0x70     END=0x7F
    SHAREBANK  NAME=gprnobnk2 START=0xF0     END=0xFF
    SHAREBANK  NAME=gprnobnk2 START=0x170    END=0x17F
    SHAREBANK  NAME=gprnobnk2 START=0x1F0    END=0x1FF
    //SECTION    NAME=STARTUP  ROM=vectors    // Reset and interrupt vectors
    SECTION    NAME=PROG1    ROM=page0      // ROM code space - page0
    SECTION    NAME=IDLOCS   ROM=.idlocs    // ID locations
    SECTION    NAME=DEEPROM  ROM=eedata     // Data EEPROM
    #20
    Page: 123 > Showing page 1 of 3
    Jump to:
    © 2017 APG vNext Commercial Version 4.5