To Display The Value Of An Expression Or Variable - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 4: Viewing Code and Data
Using Expressions
Expression C_Expression old_data
Result is: data address 000091DC {old_data}
To calculate the value of member 'temp' of the first element of the old_data
array of structures:
Expression C_Expression old_data[0].temp
Result is:
To assign the value 1 to 'num_checks':
Expression C_Expression num_checks = 1
Result is: 1

To display the value of an expression or variable

• Use the mouse to copy the expression or variable into the entry buffer, then
select Display→Var/Expression ().
Or:
• Using the command line, enter:
Expression Display_Value
Enter the expression or variable whose value is to be displayed, and press the
< Return> key.
The value of the expression or variable is displayed in the journal window.
The contents of an item, such as an array, are displayed instead of the C value
of the item which is its address.
Examples
To display the value of the variable 'num_checks':
Expression Display_Value num_checks
152
0x01
01h

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents