Keil Logo Arm Logo

µVision4 User's Guide

Go

The Go command instructs µVision to start running 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

  • For 80x51 microcontrollers, the startAddr and stopAddr can contain a Memory Type Specifier.
  • 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 */

Keil logo

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.