Is there any equivalent statement for "RP" in CLA. I want to execute the NOP instruction for a certain number of time in CLA.
However in TRM, I could not find any equivalent statement in CLA for "RPT ".
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.
Is there any equivalent statement for "RP" in CLA. I want to execute the NOP instruction for a certain number of time in CLA.
However in TRM, I could not find any equivalent statement in CLA for "RPT ".
Hi Mukul,
The CLA does not have a repeat block instruction. This document has additional details on the difference between C28 and CLA.
Thanks,
Ashwini
Hi,
I understand there is no equivalent statement for RPT in CLA.
However, is there a way, to implement the following statement in CLA?
asm(" RPT #255|| NOP");
I am trying to read ADC values. The above statement is used to wait for the period of Sampling window and EOC result to be latched after trigger.
Thanks,
Mukul
Hi Mukul,
There is nothing similar in the instruction set. One suggestion is to use a for loop/while that calls MNOP but reduce the MNOP count to account for the assembly generated for the for/while loop.
Thanks,
Ashwini