Technical Support

µ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

Last Reviewed: Monday, June 28, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure