Recommended Migration Flow
Figure D
−
1. Flow Chart of Recommended Migration Steps
Start
Step 1
Migrate to Code Composer Studio
for the C28x DSP
Step 2
Configure your project with
−
m20,
−
mw, and
−
g assembler
options to enable acceptance of C2xLP mnemonics. Also
build a linker command file *.cmd for your C28x device.
Step 3
Select the C2xLP assembler source code for C28x
migration *.asm
Step 4
Add the initialization code segment to enable C2xLP
compatible mode in the beginning of the code.
Step 5
Comment or fix incompatible instructions in
C2xLP source, if any
Step 6
Invoke the C28x Assembler and assemble the modified
C2xLP source code to get a C28x *.obj file
?
Invoke the C28x Linker with assembled .obj files
Step 7
errors
Linker
?
Migrated code ready for Debug
Linker outputs C28x COFF file *.out
Step 8
End
See the tables in Section D.5 for
corrections to source code
Yes
No
Fix Linker errors. See the tables in
Yes
No
errors
Assembly
Legend: * represents user filename
Содержание TMS320C28x
Страница 30: ...1 12...
Страница 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Страница 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Страница 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Страница 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Страница 585: ...This page intentionally left blank 7 32 This page intentionally left blank...