![Texas Instruments TMS320C6 Series Скачать руководство пользователя страница 139](http://html.mh-extra.com/html/texas-instruments/tms320c6-series/tms320c6-series_user-manual_1094537139.webp)
Running Your Programs
6-11
Loading, Displaying, and Running Code
?/eval
-
You can directly modify the PC’s contents with one of these commands:
?PC =
new value
or
eval pc =
new value
After halting execution, you can continue from the current PC by reissuing any
of the run or single-step commands.
Running code
The debugger supports several run commands.
run
The RUN command is the basic command for running an entire program. The
format for this command is:
run
[
expression]
The command’s behavior depends on the type of parameter you supply:
-
If you don’t supply an
expression, the program executes until it encounters
a breakpoint or until you press
ESC
or the left mouse button.
-
If you supply a logical or relational
expression, this becomes a conditional
run (see page 6-14).
-
If you supply any other type of
expression, the debugger treats the expres-
sion as a
count parameter. The debugger executes count instructions,
halts, then updates the display.
go
Use the GO command to execute code up to a specific point in your program.
The format for this command is:
go
[
address]
If you don’t supply an
address parameter, GO acts like a RUN command with-
out an
expression parameter.
ret
The RETURN (RET) command executes the code in the current C function
and halts when execution returns to its caller. The format for this command is:
return
or
ret
Breakpoints do not affect this command, but you can halt execution by press-
ing
ESC
or the left mouse button.
F5
Pressing this key runs code from the current PC. This is similar to entering a
RUN command without an
expression parameter.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...