// Sample linker command file for MC32P64

LIBPATH  .

CODEPAGE   NAME=page0      START=0x0        END=0x07EB			//程序存储区
//CODEPAGE   NAME=page1      START=0x800    END=0xFFF
//CODEPAGE   NAME=.idlocs    START=0x2000   END=0x2003   PROTECTED
//CODEPAGE   NAME=.device_id START=0x2006   END=0x2006   PROTECTED
CODEPAGE   NAME=.config    START=0x0FEC   END=0x0FFA   PROTECTED		//配置区
//CODEPAGE   NAME=eedata     START=0x2100   END=0x21FF   PROTECTED

DATABANK   NAME=sfr0     START=0x180      END=0x1BF    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=sfrnobnk START=0x70     END=0x7F 
//SHAREBANK  NAME=sfrnobnk START=0xF0     END=0xFF     PROTECTED
//SHAREBANK  NAME=sfrnobnk START=0x170    END=0x17F    PROTECTED
//SHAREBANK  NAME=sfrnobnk START=0x1F0    END=0x1FF    PROTECTED

DATABANK   NAME=gpr0     START=0x00     END=0x7f				//通用数据区
//DATABANK   NAME=gpr1     START=0x200     END=0x3ff
//DATABANK   NAME=gpr1     START=0xA0     END=0xEF
//DATABANK   NAME=gpr2     START=0x110    END=0x16F
//DATABANK   NAME=gpr3     START=0x190    END=0x1EF

SECTION    NAME=PROG0    ROM=page0        // ROM code space 	//ROM空间
//SECTION    NAME=PROG1    ROM=page1        // ROM code space 
//SECTION    NAME=IDLOCS   ROM=.idlocs      // ID locations
//SECTION    NAME=DEVICEID ROM=.device_id   // Device ID
//SECTION    NAME=DEEPROM  ROM=eedata       // Data EEPROM
