C2800 Assembly Language Tools Errata

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

Section 3.12 TMS320 C28x Assembler Modes

This statement regarding TMS320 C2xx (C2xlp) compatibility is incorrect:

"The --c2xlp_src_compatible option implies the -v28 (or --silicon_version=28) option. Therefore you do not need to specify -v28 explicitly."

You must use the -v28 switch with the --c2xlp_src_compatible switch to enable compatibility. This is necessary even if the .lp_amode directive is used in an assembly source file.

Section 4.13 Directives Reference

.c28_amode/.lp_amode Override Assembler Mode

It is necessary to use the -v28 and the --c2xlp_src_compatible switch in order to use the .lp_amode directive. In other words, this assembly source:

    .lp_amode
    mar *,ar1

will not assemble if the shell is invoked as:

   cl2000.exe file.asm
   "file.asm", ERROR!   at line 1: [E0002] Invalid directive for specified processor version
   .lp_amode

The source must be assembled as:

   cl2000.exe -v28 --c2xlp_src_compatble file.asm
   
   or
   
   cl2000.exe -v28 -m20 file.asm

Section 7.8.7 Allocating an Archive Member to an Output Section

The syntax for allocating archived library members specifically inside of a SECTIONS directive is not correct in the documentation. The ONLY syntax allowed is:

[-l] library name <member1, member2, ...> [(input sections0}

As an example:

.rtstry > RAM
{
   -lrtsXX.lib (.text)
}
E2e.jpg For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article C2800 Assembly Language Tools Errata here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox