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.

CCS/TMS320F28035: CLA ASM program

Part Number: TMS320F28035


Tool/software: Code Composer Studio

Dear Team,

Customer choose F28035 chip and would like to implement an specific function in CLA with C code.

But they would perform left shift, right shift and also need to transfer parameter in assembly code (ASM("...")) in CLA.

They are looking for whether any example code for their reference or not?

Could you help to provide some example or link for reference?

Thanks!

  • Daniel,

    Daniel Wu1 said:
    But they would perform left shift, right shift

    The CLA is specialized towards floating-point calculations.  The CLA will not be as efficient at shifts as the C28x is because there are not dedicated instructions for this.  I suggest creating a small example of the types of operations and see if they are ok with the performance/codesize.  

    Daniel Wu1 said:
    need to transfer parameter in assembly code (ASM("...")) in CLA.

    I don't understand what this means.  Can you provide more information?

    Daniel Wu1 said:

    They are looking for whether any example code for their reference or not?

    Could you help to provide some example or link for reference?

    Many resources are listed on the CLA FAQ here.

    Regards

    Lori

  • Hi Daniel,

    I haven’t heard from you for a week, so I’m assuming you were able to resolve your issue. If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information. If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

    Regards,
    Lori