/* FILE FOR LAB2.CMD */

MEMORY
{ 
  PAGE 0:          /* Program Memory */
   L3DPSARAM:   origin = 0x009000,  length = 0x1000
   L4SARAM:     origin = 0x00A000,  length = 0x2000

  PAGE 1:          /* Data Memory */
   M0SARAM:     origin = 0x000000,  length = 0x0400
   M1SARAM:     origin = 0x000400,  length = 0x0400
   L0DPSARAM:   origin = 0x008000,  length = 0x0800
   L1DPSARAM:   origin = 0x008800,  length = 0x0400
   L2DPSARAM:   origin = 0x008C00,  length = 0x0400
   L5DPSARAM:   origin = 0x00C000,  length = 0x2000
   L6DPSARAM:   origin = 0x00E000,  length = 0x2000
   L7DPSARAM:   origin = 0x010000,  length = 0x2000
   L8DPSARAM:   origin = 0x012000,  length = 0x2000
}


SECTIONS
{
   .text:         >  L4SARAM         PAGE = 0
   .ebss:         >  M0SARAM         PAGE = 1
   .cinit:        >  L4SARAM         PAGE = 0
   .stack:        >  M1SARAM         PAGE = 1
   .reset:        >  L4SARAM         PAGE = 0, TYPE = DSECT  /* not using .reset section */
}