/****************************************************************************/
/* COMMAND FILE FOR LINKING TMS370C16 C PROGRAMS                            */
/****************************************************************************/
-c					/* LINK USING C CONVENTIONS         */
-stack 0x2000				/* STACK SIZE                       */
-heap 0x1000				/* HEAP SIZE                        */

/* SPECIFY THE SYSTEM MEMORY MAP  */

MEMORY
{
  DATA : origin = 02000h, length = 08800h
  CODE : origin = 0A800h, length = 15800h
}

/* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY */

SECTIONS
{
  .text    :  > CODE			/* CODE                             */
  .cinit   :  > DATA 			/* INITIALIZATION TABLES            */
  .const   :  > DATA 			/* CONSTANTS AND SWITCH TABLES      */
  .data    :  > DATA 			/* OTHER DATA (NOT USED BY COMPILER)*/
  .bss     :  > DATA 			/* VARIABLES                        */
  .heap    :  > DATA 			/* DYNAMIC MEMORY POOL              */
  .stack   :  > DATA 			/* SYSTEM STACK                     */
}
