Expression C_Expression - HP B1476 68020 User Manual

Debugger/emulator
Table of Contents

Advertisement

Expression C_Expression

The Expression C_Expression command calculates the value of most valid C
expressions or assigns a value to a variable. The result is displayed in floating
point or in decimal, hexadecimal, and ASCII formats.
The Expression C_Expression command can be used to set C variables by
specifying a C assignment statement. This command recognizes variable types,
and the assignment expressions specified behave according to the rules of C.
Note
The Expression C_Expression command cannot evaluate conditionals of the
form:
<expression>?<expression>:<expression>
Examples
To calculate the value of 'time' and display the result "data address 000091DC
{time_struct}":
Expression C_Expression time
To calculate the value of member 'hours' of structure 'time' and display the
result "4 0x04":
Expression C_Expression time->hours
To assign the value 1 to 'system_is_running' and display the result "1 0x01":
Expression C_Expression system_is_running = 1
Chapter 12: Debugger Commands
Expression C_Expression
399

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1476 68030

Table of Contents