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 compile a .sa file



Hi, I am very new to TI's DSP and ccs, and would need help on how to compile a linear assembly file (.sa). I have copied a linear assembly code from 'Optimizing Compiler v7.2 User's Guide' document, and put it in a new file with extension .sa. But when I hit the build button, the compiler returned error 'Open .(c)proc region at EOF'. What's the error means, and what should I do?

  • The Compiler User's Guide has a section "What You Need to Know to Write Linear Assembly". This will be very helpful if you intend to write linear assembly. Please read this section and let us know if you have questions about it.

    The Assembly Language Tools User's Guide will also be helpful.

    From these you will learn about linear assembly syntax and the .proc or .cproc directives.

    Regards,
    RandyP

  • That error means you have a .proc or .cproc without a matching .endproc