Hi,
We are running some c54 assembly code on a c55 CPU - TMS320C5504AZCH15. To list C55 assembly instructions, besides -al option, what other options need to be set?
Thanks,
Yiyuan
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.
Hi,
We are running some c54 assembly code on a c55 CPU - TMS320C5504AZCH15. To list C55 assembly instructions, besides -al option, what other options need to be set?
Thanks,
Yiyuan
Yiyuan,
In order to run C54 assembly code on C55x, you need to use the C54M (C54x DSP -compatible mode).
http://www.ti.com/lit/ug/swpu073e/swpu073e.pdf
-al optoin will produce asm listing file.
If you want to get C55 assembly instructions, here are two documents that will get you the list of the assembly instructions.
http://www.ti.com/lit/ug/swpu067e/swpu067e.pdf
http://www.ti.com/lit/ug/swpu068e/swpu068e.pdf
Regards,
Peter Chung
Hi Peter,
Thanks.
Actually we already run the C54 code on C55 CPU. We want to check the translation of C54 to C55 instructions, which are done by assembler. But the instructions in the list file are still the C54 version. After enable the -al option, it does not make any difference. How can we list the translated C55 instruction for the code that is written in C54?
Thanks,
Yiyuan
This is described in the TMS320C55x Assembly Language Tools v 4.4 User's Guide http://www.ti.com/lit/ug/spru280i/spru280i.pdf, section 7.4 "Output C55x Source":
This section describes how to convert your C54x source code directly into C55x source code instead of object code. This conversion preserves your investment in C54x assembly code by using the same format, spacing, comments, and (very often) symbolic references of the original source