Quantcast
Channel: C2000™︎ 微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 12181

关于CCS软件view---->memory功能查看静态变量地址问题,谢谢!

$
0
0

CCS工程中断主函数的文件,代码如下:请问为什么用CCS软件view---->memory功能查取piccolo  系列DSP中全局变量g_cnt的地址能够查到,

而静态变量g_cnt1和s_cnt1的地址查不到?但是在g_cnt地址附近的静态变量地址能够看到?请问有没有好的办法看到静态变量的地址?谢谢!

/*********************************全局变量*************************************/

int16 g_cnt;

static int16  g_cnt1;

void  main(void)

{

    int16  s_cnt;

   static int16 s_cnt1;

 ............................

}


Viewing all articles
Browse latest Browse all 12181

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>