2
// Sample linker command file for 16F627
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
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
17
DATABANK NAME=gpr0 START=0x20 END=0x6F
18
DATABANK NAME=gpr1 START=0xA0 END=0xEF
19
DATABANK NAME=gpr2 START=0x120 END=0x14F
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
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