单片机:F340
开发工具:Keil uVision3
uchar xdata data[] = "------------------"
变量赋值时程序好像返回程序首地址,重新执行了,第执行到那个变量赋值的地方,又跳到首地址,成死循环了.
是什么原因哪?
xdata定义的变量合计赋值指要在超过8个就是上面说的情况.
Program Size: data=123.4 xdata=633 const=101 code=8595
欢迎光临 (http://www.51hei.com/bbs/) | Powered by Discuz! X3.1 |