TI中文支持网
TI专业的中文技术问题搜集分享网站

RUN 1 command 和STEP 1 command分别指什么?

你好!

在文档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?

赞(0)
未经允许不得转载:TI中文支持网 » RUN 1 command 和STEP 1 command分别指什么?
分享到: 更多 (0)