是的,这是因为CUBLE类似于使用等式语句,它将一个名称等同于一个常量,这恰好是一个地址。因此,正在使用的调试文件不承认这是一个变量。这就是为什么你不能把它看作一个表变量。如果使用可重定位生成使用RES语句,则调试文件将让IDE知道这是一个变量。希望能回答这个问题。谢谢,霍华德
以上来自于百度翻译
以下为原文
Yes, this is because the cblock is similar to using EQU statements, which equates a name to a constant number, which just happens to be an address. Therefore, the debug file that is being used does not recognize this to be a variable. This is why you cannot see it as a watch variable. If you use the RES statement using relocatable builds, the debug file will let the IDE know that this is a variable. Hopefully that answers the question.
Thanks,
Howard
是的,这是因为CUBLE类似于使用等式语句,它将一个名称等同于一个常量,这恰好是一个地址。因此,正在使用的调试文件不承认这是一个变量。这就是为什么你不能把它看作一个表变量。如果使用可重定位生成使用RES语句,则调试文件将让IDE知道这是一个变量。希望能回答这个问题。谢谢,霍华德
以上来自于百度翻译
以下为原文
Yes, this is because the cblock is similar to using EQU statements, which equates a name to a constant number, which just happens to be an address. Therefore, the debug file that is being used does not recognize this to be a variable. This is why you cannot see it as a watch variable. If you use the RES statement using relocatable builds, the debug file will let the IDE know that this is a variable. Hopefully that answers the question.
Thanks,
Howard
举报