?? cl.cmd
字號:
/****************************************************************************/
/* Cl.CMD - v6.50 COMMAND FILE FOR LINKING TMS320C2xx C PROGRAMS */
/* Copyright 1988, 1994 Texas Instruments Incorporated */
/* */
/* Usage: dsplnk <obj files...> -o <out file> -m <map file> c.cmd */
/* */
/* Description: This file is a sample command file that can be used */
/* for linking programs built with the TMS320C2xx C */
/* Compiler. Use it a guideline; you may want to change */
/* the allocation scheme according to the size of the */
/* program and the memory configuration of your TMS320Cxx. */
/* */
/* Notes: (1) You must specify the directory in which the libraries */
/* (RTS.LIB and FLIB.LIB) are located. Either add a */
/* "-i<directory>" line to this file, or use the system */
/* environment variable C_DIR to specify a search path for */
/* libraries. */
/* */
/* (2) This file links the table of reset vectors from the file */
/* VECTORS.OBJ into the first 20h words of program memory. */
/* As supplied, the only vector initialized with an actual */
/* routine is the RESET vector (address 0), which is */
/* initialized to the C entry point "_c_int0". If you */
/* have additional interrupt handlers, you can include them */
/* in the vector table by modifying VECTORS.ASM (from */
/* RTS.SRC). */
/****************************************************************************/
-c /* LINK USING C CONVENTIONS */
-i c:\tic2xx\c2000\cgtools\lib /* DIR FOR *.LIB FILES */
-l c:\tic2xx\c2000\cgtools\lib\rts2xx.lib /* GET RUN-TIME SUPPORT */
/*--------------------------------------------------------------------------*/
/* MEMORY SPECIFICATION */
/* Block B0 is configured as data memory (CNFD) and MP/MC- = 1 */
/* (microprocessor mode). Note that data memory locations */
/* 80h--1FFh are not configured. */
/*--------------------------------------------------------------------------*/
MEMORY
{
PAGE 0: VECS: origin = 0h , length = 040h /* VECTORS */
PROG: origin = 40h , length = 0FFC0h /* PROGRAM */
PAGE 1: MMRS: origin = 0h , length = 060h /* MMRS */
B2 : origin = 0060h , length = 020h /* DARAM */
B0B1: origin = 0200h , length = 0200h /* DARAM */
PERIFRM : origin = 7000h , length = 0440h
DATA: origin = 8000h , length = 1000h /* IDM */
}
/*--------------------------------------------------------------------*/
/* SECTIONS ALLOCATION */
/*--------------------------------------------------------------------*/
SECTIONS
{
.vectors : { } > VECS PAGE 0 /* Interrupt vector table */
.start : { } > PROG PAGE 0 /* Code */
.text : { } > PROG PAGE 0 /* Code */
.cinit : { } > PROG PAGE 0 /* INITIALIZATION DATA TABLES*/
.switch : { } > PROG PAGE 0
.data : { } > PROG PAGE 0 /* */
.mmrs : { } > MMRS PAGE 1 /* Memory mapped registers */
.bss : { } > B0B1 align(128) PAGE 1 /*GLOBAL VARS,STACK,HEAP*/
.const : { } > DATA PAGE 1 /* Const */
.sysmem : { } > DATA PAGE 1 /* */
.stack : { } > DATA PAGE 1 /* */
.pregs : { } > PERIFRM PAGE 1
.blk2 : { } > B2 PAGE 1 /* Block B2 */
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -