
Displaying Your Source Programs (or Other Text Files)
6-5
Loading, Displaying, and Running Code
When you invoke the debugger, it comes up in auto mode. If you load an object
file when you invoke the debugger, the DISASSEMBLY window displays the
reverse assembly of the object file that’s loaded into memory. If you don’t load
an object file, the DISASSEMBLY window shows the reverse assembly of
whatever is in memory.
In assembly and mixed modes, you can use these commands to display a
different portion of code in the DISASSEMBLY window.
dasm
Use the DASM command to display code beginning at a specific point. The
syntax for this command is:
dasm
address
or
dasm
function name
This command modifies the display so that
address or function name is
displayed within the DISASSEMBLY window. The debugger continues to dis-
play this portion of the code until you run a program and halt it.
addr
Use the ADDR command to display assembly language code beginning at a
specific point. The syntax for this command is:
addr
address
or
addr
function name
In assembly mode, ADDR works like the DASM command, positioning the
code starting at
address or at function name as the first line of code in the
DISASSEMBLY window. In mixed mode, ADDR affects both the
DISASSEMBLY and FILE windows.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...