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.

c6748 assembly language programming

Dear sir,

Can we do a simple addition program in dsp c6748 kit.?If so,do we need any special libraries/header files for that...?

is there any manual for the procedure,how to do assembly language programming...?is so please share with me.

thank you

  • Hi Mohammad Naseer,

    Can we do a simple addition program in dsp c6748 kit.?If so,do we need any special libraries/header files for that...?

    Yes, you can develop simple C programs for the fundamental mathematical operations.

    For other mathematical operations, you can include "math.h"

    is there any manual for the procedure,how to do assembly language programming...?is so please share with me.

    Why do you want to do assembly programming? The C program can automatically be converted into assembly. Any specific reason??

  • Hi Shankari,
    For students purpose we are doing ....no specific reason.....please share the manual for working with ccs in assembly language..

    thank you
  • Hi,

    Thanks for your post.

    Kindly find the mapping between assembly instruction and function units (.D, .L, .M, .S units) from the c674x instructions set reference guide below:

    http://www.ti.com/lit/ug/sprufe8b/sprufe8b.pdf

    Kindly refer Appendix B, C, D, E, F for details on instructions on functional units and opcode map symbols from the above doc. for assembly programming.

    As well, there are assembler directive and description with in c/c++ asm statements, predefined symbol __ASM_HEADER__, pragmas, #defines macros, #include directive. cdecls directive etc. and so on. To know more information on these topics, kindly refer the c6000 assembly user guide below:

    http://www.ti.com/lit/ug/spru186w/spru186w.pdf

    Kindly refer chapter 12 for sharing the C/C++ header files with assembly source from the above doc.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------

  • Mohammad,

    OK,

    From the following TI WIKI, you can download all the versions of Assembly language userguide.

    This wiki will contain all the compilers too. Please download.