![](/images/new-backgrounds/1102670/102670113x1.webp)
5.3.3Program Execution
These commands start and stop execution of user code. The commands provided are:
GO
GO FOREVER
GO FROM code_addr
GO FROM code_addr FOREVER
GO FROM code_addr TILL code_addr
GO FROM code_addr TILL code_addr OR code_addr
GO TILL code_addr
GO TILL code_addr OR code_addr
HALT
If a GO with breakpoint command is entered, the user code bytes at the breakpoints are saved and INT3s are substituted. When a breakpoint is reached, the user’s software stops before the instruction that caused the breakpoint and the
None of the GO commands can be executed while the user’s code is already running; the HALT command cannot be executed if the user’s code is not running. The GO commands that set breakpoints use BR[0] and possibly BR[1]. Any break value already in one of these breakpoints is overwritten and destroyed by these GO commands. If possible, the user should reserve the first two breakpoints for use by the GO commands, and set the remaining breakpoints (if required) explicitly with the BR commands.
GO | This command starts execution of the user’s code using the current |
| value of user’s program counter (PC) and the current breakpoint |
| array. |
GO FOREVER | This command clears the breakpoint array and starts execution at the |
| current value of the user’s PC. |
GO FROM code_addr This command loads the user’s PC with code_addr and starts execution of the user’s code using the current breakpoint array.
5