
Displaying Your Source Programs (or Other Text Files)
6-7
Loading, Displaying, and Running Code
addr
Use the ADDR command to display C or assembly code beginning at a specific
point. The syntax for this command is:
addr
address
or
addr
function name
In a C display, ADDR works like the FUNC command, positioning the code
starting at
address or at function name as the first line of code in the FILE
window. In mixed mode, ADDR affects both the FILE and DISASSEMBLY
windows.
Whenever the CALLS window is open, you can use the mouse or function keys
to display a specific C function. This is similar to the FUNC or ADDR command
but applies only to the functions listed in the CALLS window.
1) In the CALLS window, point to the name of the C function.
2) Click the left mouse button.
(If the CALLS window is active, you can also use the arrow keys and
F9
to
display the function; see the
CALLS window discussion on page 3-10 for
details.)
Displaying other text files
The DISASSEMBLY window always displays the reverse assembly of memory
contents, no matter what’s in memory.
The FILE window is primarily for displaying C code, but you can use the FILE
command to display any text file within the FILE window. You may, for example,
wish to examine system files such as autoexec.bat or an initialization batch file.
You can also view your original assembly language source files in the FILE
window.
You are restricted to displaying files that are 65 518 bytes long or less.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...