Sample linker map file – Zilog EZ80F916 User Manual
Page 287

UM014423-0607
Using the Linker/Locator
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
267
COPY CODE ROM
/* Stack pointer initialization */
DEFINE __stack = highaddr of RAM + 1
/* Required for malloc() and free() */
DEFINE __heaptop = highaddr of RAM
DEFINE __heapbot = top of RAM + 1
/* Copy CODE to RAM */
DEFINE __copy_code_to_ram = 1
Directives for the Custom Configuration
Apart from the common directives, the following needs to be added for this configuration:
/* Stack pointer initialization */
DEFINE __stack = highaddr of RAM + 1
/* Required for malloc() and free() */
DEFINE __heaptop = highaddr of RAM
DEFINE __heapbot = top of RAM + 1
/* This is set to 1 only for Copy To RAM configuration */
DEFINE __copy_code_to_ram = 0
SAMPLE LINKER MAP FILE
IEEE 695 OMF Linker Version 6.20 (06030104)
Copyright (C) 1999-2004 ZiLOG, Inc. All Rights Reserved
LINK MAP:
DATE: Fri Mar 03 11:49:44 2006
PROCESSOR: assembler
FILES: C:\PROGRA~1\ZiLOG\UNDERD~1\ZDSII_~2.0\lib\zilog\vectors24.obj
C:\PROGRA~1\ZiLOG\UNDERD~1\ZDSII_~2.0\lib\zilog\init_params_f91.obj
C:\PROGRA~1\ZiLOG\UNDERD~1\ZDSII_~2.0\lib\zilog\cstartup.obj
.\Buttons.obj .\LedMatrix.obj .\LedTimer.obj
.\main.obj
.\zsldevinit.obj
C:\PROGRA~1\ZiLOG\UNDERD~1\ZDSII_~2.0\lib\std\chelpD.lib
C:\PROGRA~1\ZiLOG\UNDERD~1\ZDSII_~2.0\lib\std\crtD.lib
C:\PROGRA~1\ZiLOG\UNDERD~1\ZDSII_~2.0\lib\std\fpdumy.obj
C:\PROGRA~1\ZiLOG\UNDERD~1\ZDSII_~2.0\lib\zilog\gpioD.lib
C:\PROGRA~1\ZiLOG\UNDERD~1\ZDSII_~2.0\lib\zilog\uartF91simD.lib