NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
C2800 Assembly Language Tools Errata
Contents
Section 3.12 TMS320 C28x Assembler Modes[edit]
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[edit]
.c28_amode/.lp_amode Override Assembler Mode[edit]
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[edit]
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) }