1
// Sample ICD2 linker command file for 16F884
5
CODEPAGE NAME=page0 START=0x0 END=0x7FF
6
CODEPAGE NAME=page1 START=0x800 END=0xEFF
7
CODEPAGE NAME=debug START=0xF00 END=0xFFF PROTECTED
8
CODEPAGE NAME=.idlocs START=0x2000 END=0x2003 PROTECTED
9
CODEPAGE NAME=.config START=0x2007 END=0x2008 PROTECTED
10
CODEPAGE NAME=eedata START=0x2100 END=0x21FF 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=0x10F PROTECTED
15
DATABANK NAME=sfr3 START=0x180 END=0x18F PROTECTED
17
DATABANK NAME=gpr0 START=0x20 END=0x6F
18
DATABANK NAME=gpr1 START=0xA0 END=0xEF
19
DATABANK NAME=gpr2 START=0x120 END=0x164
20
DATABANK NAME=dbgspr START=0x165 END=0x16F PROTECTED
22
SHAREBANK NAME=dbgnobnk START=0x70 END=0x70 PROTECTED
23
SHAREBANK NAME=dbgnobnk START=0xF0 END=0xF0 PROTECTED
24
SHAREBANK NAME=dbgnobnk START=0x170 END=0x170 PROTECTED
25
SHAREBANK NAME=dbgnobnk START=0x1F0 END=0x1F0 PROTECTED
27
SHAREBANK NAME=gprnobnk START=0x71 END=0x7F
28
SHAREBANK NAME=gprnobnk START=0xF1 END=0xFF PROTECTED
29
SHAREBANK NAME=gprnobnk START=0x171 END=0x17F PROTECTED
30
SHAREBANK NAME=gprnobnk START=0x1F1 END=0x1FF PROTECTED
32
SECTION NAME=PROG1 ROM=page0 // ROM code space - page0
33
SECTION NAME=PROG2 ROM=page1 // ROM code space - page1
34
SECTION NAME=IDLOCS ROM=.idlocs // ID locations
35
SECTION NAME=DEEPROM ROM=eedata // Data EEPROM