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 )
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.
The general purpose registers are treated as unsigned long 32-bit registers.
SHOW MEMORY C(globalvar+5)