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.

TDA3XEVM: Writing conditional loops in Kernel C for VCOP.

Part Number: TDA3XEVM

Hello,

I have problems porting some algorithm written in C to Kernel C using the BAM framework. I am using only the Programmer's guide (version E) for EVE, currently I want to skip some iteration in a loop but I don't know how. Some sample written in C is this :

for(i1=0;i1<blkHeight;i1++)

for(i2=0; i2<blkWidth; i2++)

{

if (blkHeight==0)

break;

/*CODE FOR LOOP*/

}

How can I achieve the same functionality in Kernel C?

Additionally I saw that conditional moves can't be used with loads or stores or with more than 1 instruction. Is there any way to use if for a block of instructions?

Best regards,

Theodore