
Managing Data in Memory
7-7
Managing Data
Expression can be an absolute address, a symbolic address, or any C
expression. Here are several examples:
J
Absolute address.
Suppose that you want to display data memory
beginning from the very first address. You might enter this command:
mem 0x00
Hint: MEMORY window addresses are shown in hexadecimal format.
If you want to specify a hex address, be sure to prefix the address
number with 0x; otherwise, the debugger treats the number as a deci-
mal address.
J
Symbolic address.
You can use any defined C symbol as an expres-
sion parameter. For example, if your program defined a symbol
named
SYM, you could enter this command:
mem &SYM
Hint: Prefix the symbol with the & operator to use the address of the
symbol.
J
C expression
. If you use a C expression as a parameter, the debug-
ger evaluates the expression and uses the result as a memory ad-
dress:
mem SP – A0 + label
-
The
display format parameter is optional. When used, the data is dis-
played in the selected format as shown in Table 7–1 on page 7-17.
-
The
window name parameter is optional if you are displaying a different
memory range in the default MEMORY window. Use the
window name pa-
rameter when you want to open an additional MEMORY window or
change the displayed memory range in an additional MEMORY window.
When you open an additional MEMORY window, the debugger appends
the
window name to the MEMORY window label.
You can also change the display of any data-display window—including the
MEMORY window—by scrolling through the window’s contents. For more
details, see
Scrolling through a window’s contents on page 3-29.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...