Keil Logo

Go

The Go command instructs µVision to start the target program.

Syntax Description
G startAddr, stopAddr Starts program execution at address startAddr, and stops at address stopAddr.
  • startAddr specifies the starting address at which program execution should start. If startAddr is missing, execution begins from the current program counter.
  • stopAddr specifies the address at which program execution should stop. When stopAddr is specified, µVision sets a temporary breakpoint, which is removed when execution stops. If stopaddr is missing, then program execution continues until a breakpoint is reached or until execution is stopped by any other action.

Note

  • When conditional breakpoints are used, µVision must check the break conditions after each instruction. For this reason, µVision runs the target program in single-stepping mode even though the Go command was used to begin execution.
Examples
>G,main         /* Run starting at $ up to address main       */
>G              /* Start at $.  Break with Ctrl+C or breakpoint */
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.