Keil Logo

µVISION DEBUGGER: CHANGING THE PROGRAM COUNTER


Information in this article applies to:

  • µVision Version 2.10

QUESTION

How do I change the program counter in the µVision Debugger?

ANSWER

You can change the Program Counter by entering either of the following commands in the command window:

PC = 0x000000

or

$ = 0

Each of these change the program counter to 0h.

You can set the program counter to the address of a line in a source module. For example:

$ = \hello\14

sets the program counter to the address of line 14 in the hello module.

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Monday, June 28, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.