This topic describes the language casts that are available in the debugger command language.

This feature merges high-level language constructs and assembler constructs, for example, to obtain the value of a CPU register while running in C mode. The syntax is as follows:

C ( C-expression )

or

ASM ( assembler-expression )

The expression the language cast is applied to is evaluated according to the rules of this language, for example, the assembler expression in an ASM() cast is evaluated as if the debugger was in assembler mode.

Note

The general purpose registers are treated as unsigned long 32-bit registers.

Example

SHOW MEMORY C(globalvar[10]+5)

See Also

有关编译器优化的更完整信息,请参阅优化通知