Numerical Expression Syntax

The debugger accepts two different kinds of numeric expressions: C++ expressions and MASM expressions. Each of these expressions follows its own syntax rules for input and output.

For more information about when each syntax type is used, see Evaluating Expressions.

Use the .expr (Choose Expression Evaluator) command to display or change the expression evaluator after the debugger is running.

This section includes the following topics:

MASM Numbers and Operators

C++ Numbers and Operators

MASM Expressions vs. C++ Expressions

Mixed Expression Examples

Sign Extension

? (Evaluate Expression)

.expr (Choose Expression Evaluator)