HP 68000 Series User Manual page 331

Debugger/simulator
Table of Contents

Advertisement

If you do not use /S, /T, or /H, all expressions displayed with this command are
displayed according to their type as shown in the following list:
Type
Ints
Longs
Shorts
Chars
Pointers
Enums
Arrays
Structures
Quoted String
Hex Byte
Hex Word
Hex Double Word
Float
Double
Note
The contents of an item such as an array is displayed instead of the C value of
the item, which is its address.
If an expression range is displayed, each value within the range is displayed
according to the base type (if one exists). For example, if the variable flags is a
character array, the following command results in elements flags[10]
through flags[30] being displayed:
Expression Display_Value flags+10..+30
Note that the command first evaluates flags[10] to a character, and uses
this as the base of the address range. Flags[30] is also evaluated to a
character. It is used as the end of the address range.
Any expression can be type cast to display it in a different format. All values
that make up a complex type are printed. For example, if the variable count is
a long, the following statement displays it as a four-character array:
Expression Display_Value (char[4])&count
Chapter 9: Debugger Commands
Display Format
32-bit signed decimal numbers
32-bit signed decimal numbers
16-bit signed decimal numbers
8-bit characters (unsigned hexadecimal numbers if not
printable)
32-bit unsigned numbers
Name of Enumerator constant (enumerator value if
name not defined)
All elements
All members
All characters as typed, in by double quotes (" ")
8-bit hexadecimal
16-bit hexadecimal
32-bit hexadecimal
32-bit floating point
64-bit floating point
Expression Display_Value
309

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents