I am using VisualDSP++ 5.0 and ADSP-213xx DSP.
Till now, if I wanted to measure how many cycles is running some routine, I used register LS in "Cycle Counter" window in VisualDSP (Register -> Core -> Counters -> Cycle Count).
Can I use this register inside the assembler program?
I want to add e.g. to the R0 register LS register before the routine start and to the R1 register LS register when it finished, then subtract them to know the cycle count. I can't stop program and look at the LS register in Visual DSP, because the program is depending on external hardware, that can not be stopped ...
However, LS register is not known as register in assembler program. Is there any another register that count the cycles in realtime?