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.
我在主函数里定义了Res在CLA-CPU的RAM中,在CLA文件中修改Rse的值
但是在仿真调试的时候,查看变量实时更新表中,发现不能更改其值,注意仿真调试步骤和cmd的地址我都看过是对的
之前有使用过CLA吗?
CLA变量应该在.c文件中定义及初始化,在.cla文件中进行声明。
试一下在.c文件中给Res初始化一个值,并在.cla文件中的声明前加上extern。在.cla文件不能初始化,声明和赋值要分开。