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.

关于5509a .cmd文件

在调试5509a程序过程中,遇到问题,全局变量值在运行过程中被清零,程序代码中无相关操作。程序中涉及到数据块的操作,怀疑是系统堆栈设置不正确导致。在查资料过程中,发现.stack和.sysstack有64k word的大小限制,但5509a本身daram空间才32k word, saram空间才192k word。是不是不扩展存储,.stack和.sysstack不能用到最大空间?另外,在堆栈使用上如何估算出程序运行时需要的大小?从.map文件中好像看不出来。