User`s guide
symbol
Purpose Program symbol table from CCS IDE
Syntax s = symbol(cc)
Description s = symbol(cc) returns the symbol table for the prog ram loaded in
CCS IDE.
symbol only applies after you load a processor program file.
s is an array of structures where each row in s presents the symbol
name and address in the table. Therefore,
s has two columns; one is
the symbol name, and the other is the symbol address and symbol page.
For example, this table shows a few possible elements of
s,andtheir
interpretation.
s Structure Field Contents of the Specified Field
s(1).name
String re flecting the symbol entry name.
s(1).address(1)
Address or value of symbol entry.
s(1).address(2)
Memory page for the symbol entry. For TI
C6xxx processors, the page is 0.
You can use field address in s as the address inputargumenttoread
and write.
It you u se
symbol and the symbol table does not exist, s returns empty
and you get a warning message.
Symbol tables are a portion of a COFF object file that contains
information about the symbols that are defined and used by the file.
When you load a program to the processor, the symbol table re sides in
CCS IDE. While CCS IDE may contain more than one symbol table
at a time,
symbol accesses the symbol table b elo nging to the program
you l ast loaded on the proce ssor.
Examples Demonstrating this function requires that you load a program file to
your processor. In this example, build and load Embedded ID E Link
CC demo program
c6711dskafxr. Start by entering c6711dskafxr
at the MATLAB software prompt.
7-147