~ubuntu-branches/ubuntu/utopic/gputils/utopic

« back to all changes in this revision

Viewing changes to lkr/16f627.lkr

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Tardieu
  • Date: 2002-01-21 11:14:50 UTC
  • Revision ID: james.westby@ubuntu.com-20020121111450-rayvyl8jzft0ninr
Tags: upstream-0.10.0
ImportĀ upstreamĀ versionĀ 0.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// File: 16f627.lkr
 
2
// Sample linker command file for 16F627
 
3
 
 
4
LIBPATH  .
 
5
 
 
6
CODEPAGE   NAME=vectors   START=0x0      END=0x4      PROTECTED
 
7
CODEPAGE   NAME=page      START=0x5      END=0x3FF
 
8
CODEPAGE   NAME=.idlocs   START=0x2000   END=0x2003   PROTECTED
 
9
CODEPAGE   NAME=.config   START=0x2007   END=0x2007   PROTECTED
 
10
CODEPAGE   NAME=eedata    START=0x2100   END=0x217F   PROTECTED
 
11
 
 
12
DATABANK   NAME=sfr0      START=0x0      END=0x1F     PROTECTED
 
13
DATABANK   NAME=sfr1      START=0x80     END=0x9F     PROTECTED
 
14
DATABANK   NAME=sfr2      START=0x100    END=0x11F    PROTECTED
 
15
DATABANK   NAME=sfr3      START=0x180    END=0x19F    PROTECTED
 
16
 
 
17
DATABANK   NAME=gpr0      START=0x20     END=0x6F
 
18
DATABANK   NAME=gpr1      START=0xA0     END=0xEF
 
19
DATABANK   NAME=gpr2      START=0x120    END=0x14F
 
20
 
 
21
SHAREBANK  NAME=gprnobnk  START=0x70     END=0x7F
 
22
SHAREBANK  NAME=gprnobnk  START=0xF0     END=0xFF
 
23
SHAREBANK  NAME=gprnobnk  START=0x170    END=0x17F
 
24
SHAREBANK  NAME=gprnobnk  START=0x1F0    END=0x1FF
 
25
 
 
26
SECTION    NAME=STARTUP  ROM=vectors     // Reset and interrupt vectors
 
27
SECTION    NAME=PROG     ROM=page        // ROM code space
 
28
SECTION    NAME=IDLOCS   ROM=.idlocs     // ID locations
 
29
SECTION    NAME=CONFIG   ROM=.config     // Configuration bits location
 
30
SECTION    NAME=DEEPROM  ROM=eedata      // Data EEPROM