This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求教:变量数量较多后出现的问题



相关技术专家,你好!

我在使用28335过程中发现这样的一种现象:当定义较多的结构型变量后,程序几乎不能运行,很快进入TRAP中断;进一步调试发现,当删除一些程序或变量后,可能会进入其他如TRAP1等中断。汇编跟踪发现,原来正常的程序经过汇编后,其中包含的较多的TRAP语句。见附件图。其中最左侧为主程序,中间为其中TI提供的 InitXintf 函数的C代码,最右侧为相应汇编代码。显然,汇编代码不正确,不知道为什么?请教!