ARM Technical Support Knowledge Articles

CHANGING THE PROGRAM COUNTER

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

How do I change the program counter in the uVision 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:

$ = hello14

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

SEE ALSO

Article last edited on: 2004-06-28 10:41:58

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential