你好!
在文档SPRU430E: CPU and Instruction Set Reference Guide 的7.4节(P560)提及调试时CPU有三种状态,Debug-halt、Single-Instruction和Run。
Single-instruction state is entered when you tell the debugger to execute a single instruction by using aRUN 1 command ora STEP 1 command.
两个指令对中断的处理方法不同。RUN 1: 允许中断;STEP 1:不允许任何中断,即使是NMI及RS中断。
那么,在CCS软件中,RUN 1和STEP 1分别对应什么指令呢?与step over、step into和step return又有什么关系?
期待您的解答。
谢谢!
Eric Ma:
个人理解,run 1 command 应该是对应step into, step 1 command 应该是step over。
ERIC
你好!
在文档SPRU430E: CPU and Instruction Set Reference Guide 的7.4节(P560)提及调试时CPU有三种状态,Debug-halt、Single-Instruction和Run。
Single-instruction state is entered when you tell the debugger to execute a single instruction by using aRUN 1 command ora STEP 1 command.
两个指令对中断的处理方法不同。RUN 1: 允许中断;STEP 1:不允许任何中断,即使是NMI及RS中断。
那么,在CCS软件中,RUN 1和STEP 1分别对应什么指令呢?与step over、step into和step return又有什么关系?
期待您的解答。
谢谢!
Wei Liu6:
回复 Eric Ma:
Eric,你好。
谢谢您的解答!
这个解释有一定道理。不过你可能写反了,是不是Run 1对应STEP over,STEP 1对应step into?
TI中文支持网![CCSTUDIO: CCS20.2 导入工程时编译出现乱码!]ϵͳ�Ҳ���ָ�����ļ���-TI中文支持网](https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_DSP_pastedimage1753170415800v1.jpg)

