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.

how to use ccs5's clock



Hi everyone

There is an option in ccs5's menu which is located in run ->clock->enable. I have a problem using it.

First,click run->clock->setup and set the clock cycle to cpu execute cycle when using a emulator connected to my board.

Then step over,the code is simply nop 1.

I think the clock suppose to add 1 bucause nop 1 take a cpu execute cycle.But the result is not as what i think. It add more than 1 (like 6)when executing nop 1. 

.

1 How to explain this.Does nop 1 take only one cpu execute cycle?

2 How can i get the number of cpu execute cycle that a function takes,or how can i get the executing time of a function?