|
|||||||||||
Technical Support Support Resources
Product Information |
µVISION DEBUGGER: Watching Assembly VariablesInformation in this article applies to:
QUESTIONI 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? ANSWERTo add this assembly variable to the watch window, you must use the following command: ws _rword(&mike) To initialize this variable to a value of 300, enter the following code in the debugger's command window: _wword(&mike,300) And, to add 300 to it, enter the following code in the debugger's command window: _wword(&mike, _rword(&mike) + 300) Last Reviewed: Friday, January 8, 2021 | ||||||||||
|
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.