Keil Logo

Expressions

Many debug commands accept numeric expressions as parameters. A numeric expression is a number or a complex expressions that contains numbers, debug objects, or operands. An expression may consist of any of the following components.

Component Description
Bit Addresses Bit addresses reference bit-addressable data memory.
Constants Constants are fixed numeric values or character strings.
Line Numbers Line numbers reference code addresses of executable programs. When you compile or assemble a program, the compiler and assembler include line number information in the generated object module.
Operators Operators include +, -, *, and /. Operators may be used to combine subexpressions into a single expression. You may use all operators that are available in the C programming language.
Program Variables  Program variables are those variables in your target program. They are often called symbols or symbolic names.
System Variables System variables alter or affect the way µVision3 operates.
Peripheral Variables Peripheral (or SFR) variables allow access the simulated on-chip peripherals.
Type Specifications Type specifications let you specify the data type of an expression or subexpression.

Related Knowledgebase Articles

  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.