HP 68000 Series User Manual page 457

Debugger/simulator
Table of Contents

Advertisement

Type
struct
union
array
Type Conversion
The debugger does data type conversions under the following conditions:
Type Casting
Type casting forces the conversion of a debugger symbol or expression to a
specified data type. The debugger converts the resulting value of the
expression to the specified data type, as if the expression was assigned to a
variable of that type. The debugger does not alter the contents of the variable.
You can cast debugger symbols and expressions into different types using the
following syntax:
(typename) expression
For example, the following symbol is cast to type char:
(char) prime
The following example casts the variable expression ptr__char to type int:
(int) ptr__char
Chapter 10: Expressions and Symbols in Debugger Commands
High Level Complex Data Types
Size
Combined size of members (plus possible padding)
Size of largest member
Combined size of elements
When two or more operands of different types appear in an expression,
the debugger does data type conversion according to the rules of C.
When arguments are passed to a macro function, the debugger converts
the types of the macro's arguments to the types defined in the macro.
When the data type of an operand is forced by type casting, the debugger
converts the data type.
When a specific type is required by a command, the value is converted by
the debugger according to the rules of C.
Symbolic Referencing
435

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents