Escolar Documentos
Profissional Documentos
Cultura Documentos
Outline Programming Methods Code Composer Studio (CCS) Projects Working with C Source
C C ++
Linear ASM
Assembly Optimizer
95 - 100%
Med
ASM
Hand Optimize
100%
High
C
9 ::
S *MR
T
T * + ,7) , * , J $ ? A < ;"S !#!#$ ; U S !#!#$ U ; $ U $ S
K :
V W"$ SK :
V $CW ? A < $C"$ ? A < 9 :
:S
3 ? A < 5X)
ASM
Linear ASM
} z} t "w ~"w t v y
Whats a Project?
Project Options
Indicates how output file should be constructed
You can add files to a project with drag-n-drop onto the .MAK file
Which Optimizations Where to find files/libs C62x or C67x How to link files Etc.
Full list of options found in Optimizing C/C++ Compiler Users Guide (SPRU187)
Compiler Options
Options -mv6700 -fr <dir> -g debug -s -k -mg -mt -o3 G -pm
Assembler Options
Description Enables src-level symbolic debugging Create assembler listing file (small -L) Retain asm symbols for debugging CC Tab Comp/Asm Assembler Assembler
speed opto
-gls
Linker Options
Options - o <file> - m <file> - c Description Output file name Map file name Auto-initialize global/static C variables CC Tab Linker Linker Linker
Options -mv6700 -fr <dir> -g debug -s -k -mg speed -mt opto -o3 -pm -l -s -o <dir> -m <dir> -c -l -i
Description Generate C6700 code (C6200 is default) Directory containing source files Enables src-level symbolic debugging Interlist C statements into assembly listing Keep assembly file Enables minimum debug to allow profiling No aliasing used Invoke optimizer (-o0, -o1, -o2/-o, -o3) Combine all C source files before compile Create assembler listing file (small -L) Retain asm symbols for debugging Output file name Map file name Auto-Init C variables (-cr turns off autoinit) Library archive file Defines #include search path
Options Tab Compiler Compiler Comp/Asm Compiler Compiler Compiler Compiler Compiler Compiler Assembler Assembler Linker Linker Linker Comp/Linker Comp/Linker
? =I9 ;"
=N;"S :N9 ;"# :D<
4b Cb 4b C
# b b
Config Tool
Size
8 bits 8 bits 16 bits 16 bits 32 bits 32 bits 40 bits 40 bits 32 bits 32 bits 64 bits 64 bits 32 bits
Representation
ASCII ASCII 2s complement binary 2s complement binary 2s complement binary 2s complement IEEE 32-bit IEEE 64-bit IEEE 64-bit binary
Config Tool
,B =NS9 B 8 B GiG W G"< = V G B A T ;"D
< :=N;"< B ?C;"9 9 W ?"K ;"< Gi ?"< :
K< ;"
9