單片機:F340
開發工具:Keil uVision3
uchar xdata data[] = "------------------"
變量賦值時程序好像返回程序首地址,重新執行了,第執行到那個變量賦值的地方,又跳到首地址,成死循環了.
是什么原因哪?
xdata定義的變量合計賦值指要在超過8個就是上面說的情況.
Program Size: data=123.4 xdata=633 const=101 code=8595
| 歡迎光臨 (http://www.raoushi.com/bbs/) | Powered by Discuz! X3.1 |