Keil Logo

Variables and Registers

You can interactively display and change variables, registers, and memory locations from the command window. For example, you can type the following text commands at the command prompt:

Text Effect
R7 = 12 Assign the value 12 to register R7.
CPSR Display the CPSR register.
time.hour Displays the member hour of the time structure.
time.hour++ Increments the member hour of the time structure.
index = 0 Assigns the value 0 to index.
  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.