网站公告列表

  没有公告

加入收藏
设为首页
联系站长
您现在的位置: 61IC中国电子在线 >> DSP >> 代码示例 >> TI DSP代码示例 >> C2000 >> 文章正文
  TMS320F2812 CMD 文件各段含义         ★★★ 【字体:
TMS320F2812 CMD 文件各段含义
作者:Free    文章来源:本站原创    点击数:    更新时间:2007-11-5    

.text section    //代码段usually contains executable code

.cinit section   // C语言 代码的 全局和静态变量 存放地址 C initialization records for explicitly initialized global and static variables

.pinit section   // C++语言 代码的 全局和静态变量 存放地址

.stack section  // C 语言 堆栈段 is an uninitialized section used for the C system

stack.

.bss section   //保留变量空间  为未初始化的临时变量准备可以是汇编也可以是C

                   At program startup time, the C boot routine copies data out of the .cinit section (which can be in ROM) and stores it in the .bss section.

 

.ebss section  //保留变量空间  为未初始化的临时变量准备只为C准备

                  //At program startup time, the C boot routine copies data out of the .cinit section (which can be in ROM) and stores it in the .ebss section.

    .const section // 全局不变量段 如字符串或恒量 is an initialized section that contains string constants, and the declaration and initialization of global and static variables(qualified by const) that are explicitly initialized.

.econst section  //(增强型 大空间恒量操作) is an initialized section that contains string constants,and the declaration and initialization of global and static variables(qualified by far const or the use of the large memory model) that

are explicitly initialized and placed in far memory.

.sysmem section   //保留空间为动态内存分配使用 ,专为内存分配函数准备,如果程序中没有用到内存函数,则此段内容为 0is a uninitialized section that reserves space for dynamic memory allocation. The reserved space is used by malloc functions. If no malloc functions are used, the size of the sectionremains 0.

.esysmem section  //(增强型 大空间内存操作)保留空间为动态内存分配使用,专为内存分配函数准备,如果程序中没有用到内存函数,则此段内容为 0 is a uninitialized section that reserves space for dynamic memory allocation. The reserved space is used by far malloc functions. If no far malloc functions are used, the size of the section remains 0.

.switch section    //switch 语句存放的表格段,如果用SWITCH 语句则要声明此段 is an initialized section that contains tables for  switch statements.

               欢迎点击进入:TI德州中文网   (国内唯一针对TI应用的中文技术网站)    文章录入:admin    责任编辑:admin 
  • 上一篇文章:

  • 下一篇文章:
  • 发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    最新热点 最新推荐 相关文章
    TMS320F2812的SPWM原程序
    基于LabVIEW和TMS320F2812的…
    TMS320F2812的CAN调试成功经…
    基于TMS320F2812和μC/OS II…
    TMS320F2812 全局汇编函数
    基于TMS320F2812集中供电系统…
    TMS320F2812的CMD文件配置详…
    基于TMS320F2812的多轴伺服控…
    利用TMS320F2812 DSP&DRV592…
    基于TMS320F2812的变频调压功…
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    站长:61IC 湘ICP备05002478号