NAMES
ansi.lib
/* other object files to link are passed from the IDF with the linker -Add option */
END
SECTIONS
LIN_ZRAM = READ_WRITE 0x0050 TO 0x00FF; /* zero page */
LIN_RAM = READ_WRITE 0x0100 TO 0x03BF; /* program data */
LIN_STACK = READ_WRITE 0x03C0 TO 0x044F; /* stack */
LIN_ROM = READ_ONLY 0x8000 TO 0xFDFF; /* program code & constants */
//EEPROM1 = READ_WRITE 0x0800 TO 0x09FF;
LIN_VECTORS = READ_ONLY 0xFFD0 TO 0xFFFF; /* interrupt vectors (use your vector.obj) */
END
PLACEMENT
ZeroSeg, _DATA_ZEROPAGE INTO LIN_ZRAM;
DEFAULT_ROM, ROM_VAR INTO LIN_ROM;
DEFAULT_RAM INTO LIN_RAM;
SSTACK INTO LIN_STACK;
VECTORS_DATA INTO LIN_VECTORS;
END
STACKSIZE 0x001F
ENTRIES
_vectab
END
INIT _Startup /* contains line replacing default _PRESTART */
MAPFILE ON作者: c4c4c4 时间: 2007-1-30 16:26