~ubuntu-branches/ubuntu/utopic/gputils/utopic

« back to all changes in this revision

Viewing changes to lkr/16c712.lkr

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Tardieu
  • Date: 2002-01-21 11:14:50 UTC
  • Revision ID: james.westby@ubuntu.com-20020121111450-rayvyl8jzft0ninr
Tags: upstream-0.10.0
ImportĀ upstreamĀ versionĀ 0.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// File: 16c712.lkr
 
2
// Sample linker command file for 16C712
 
3
 
 
4
LIBPATH  .
 
5
 
 
6
CODEPAGE   NAME=vectors  START=0x0      END=0x4      PROTECTED
 
7
CODEPAGE   NAME=page     START=0x5      END=0x3FF
 
8
CODEPAGE   NAME=.idlocs  START=0x2000   END=0x2003   PROTECTED
 
9
CODEPAGE   NAME=.config  START=0x2007   END=0x2007   PROTECTED
 
10
 
 
11
DATABANK   NAME=sfr0     START=0x0      END=0x1F     PROTECTED
 
12
DATABANK   NAME=sfr1     START=0x80     END=0x9F     PROTECTED
 
13
 
 
14
DATABANK   NAME=gpr0     START=0x20     END=0x7F
 
15
DATABANK   NAME=gpr1     START=0xA0     END=0xBF
 
16
 
 
17
SECTION    NAME=STARTUP  ROM=vectors    // Reset and interrupt vectors
 
18
SECTION    NAME=PROG     ROM=page       // ROM code space
 
19
SECTION    NAME=IDLOCS   ROM=.idlocs    // ID locations
 
20
SECTION    NAME=CONFIG   ROM=.config    // Configuration bits location