// File: 16c52_g.lkr
// Generic linker script for the PIC16C52 processor

LIBPATH  .

CODEPAGE   NAME=page     START=0x0      END=0x17F
CODEPAGE   NAME=.config  START=0xFFF    END=0xFFF    PROTECTED
CODEPAGE   NAME=.idlocs  START=0x180    END=0x183    PROTECTED

DATABANK   NAME=sfrs     START=0x0      END=0x6      PROTECTED

DATABANK   NAME=gprs     START=0x7      END=0x1F

SECTION    NAME=PROG     ROM=page       // ROM code space
SECTION    NAME=IDLOCS   ROM=.idlocs    // ID locations

