|ARM Technical Support Knowledge Articles|
Applies to: uVision Debugger
Information in this article applies to:
I want to watch a word in XDATA memory. The variable is defined in my assembly code as follows:
mike: ds 2
How can I do this? Also, is there a way to add a constant value to this variable from within the debugger?
To add this assembly variable to the watch window, you must use the following command:
To initialize this variable to a value of 300, enter the following code in the debugger's command window:
And, to add 300 to it, enter the following code in the debugger's command window:
_wword(&mike, _rword(&mike) + 300)
Article last edited on: 2004-06-29 11:17:01
Did you find this article helpful? Yes No
How can we improve this article?