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.

Registers of Assembler code for C6713B

Guru 10085 points

                                              

Hi all,

Can registers of the assembly code described for C6713B use for C674x just as it is?

When it be used on the EVEN register side in C6713B, I suppose the Assembly code can be used

for C674x without problem as far as I check "TMS320C674x DSP CPU and Instruction Set Reference Guide".

Is my understanding correct?

If it cannot be used as it is for C674x, please give me the advice to change it.

 

Best regards,

Kanae

  • Hi,
    Please refer to the following TI wiki page.
    processors.wiki.ti.com/.../TMS320C6713_to_TMS320C6748_Migration_Guide

    I hope that we can use C6713 code in C6748.

    www.ti.com/lit/ug/spru733a/spru733a.pdf

    Please let me for further clarifications.

    Also I would like you to suggest to use our compiler for compiler related problems if any in future.

    e2e.ti.com/.../compiler
  •  

    Hi Titusrathinaraj,

    Thank you for your prompt reply.

    I got this question from my customer, so I am not familiar to assembler code actually.

    Do you have heard that anybody had tried this kind of changes such as from C6713B to C674x?

    Best regards,
    Kanae

     

     

  • Kanae,

    The assembly code of the C6713B can be used on the C6748. The Wiki document that Titus referred you to is vital in understanding how to get this to work.

    There is no EVEN register side to the C6713B, so I do not understand what you may have intended to ask. Probably you referred to the A-side and B-side?

    Regards,
    RandyP
  • Hi RandyP,
    Thank you for your quick reply.

    I am afraid my explanation was not enough.
    EVEN register side" means "EVEN numbered register" of
    C6713B such as register A0, A2, A4...
    I suppose that LSB's of data are placed in an even-numbered registers.
    This is same as C674x, isn't it?

    Best regards,
    Kanae
  • Kanae,

    The Least Significant Byte of data is not placed only in even-numbered registers. That is not how it works on either the C6713B or the C6748.

    Data placement done in C6713B will be done the same in C674x.

    Could you be referring to 64-bit data? That could involve LSW, Least Significant Word, of data being placed in even-numbered registers.

    Regards,
    RandyP
  •  

    Hi RandyP,

    Thank you for your reply.

    I have just referred the following explanation in technical document.
    ======
    The 32 least-significant-bits are loaded into the even register;
    the 32 most-significant-bits containing the sign bit and exponent are
    loaded into the next register (that is always the odd register).
    ======
    TMS320C67x/C67x+ DSP CPU and Instruction Set Reference Guide
    Literature Number: SPRU733A

    And I could find that it is same as the C674x' s document;
    TMS320C674x DSP CPU and Instruction Set Reference Guide(SPRUFE8B).

    I really appreciate your support.
    Best regards,

    Kanae