HP 68000 Series User Manual page 336

Debugger/simulator
Table of Contents

Advertisement

Chapter 9: Debugger Commands
Expression Fprintf
x
%
Conversion characters are case-sensitive. Values printed in E notation have
the following format:
[–]d.d...E{+|–}dd
Each d represents a decimal digit. The number is first scaled so that one digit
appears to the left of the decimal point. The number of digits in the fractional
part is six by default, or the maximum field width if specified. The sign of the
mantissa is printed only if the number is negative. The sign of the exponent is
always printed.
Values printed in F notation have the following format:
[–] d... . d...
Each d represents a decimal digit. The number of digits in the fractional part is
six by default or the maximum field width if specified. The number of digits
printed depends on the number of significant digits in the number.
Because floating point values are passed as parameters, they are converted to
double precision. Parameters must be promoted to double precision values as
a requirement of the C language. Other values passed as parameters may also
be converted.
The Expression Fprintf command uses the format string to decide how many
arguments to print. The number of conversion specifications must equal the
number of arguments. If there are too many arguments, some of them will not
be printed. If there are too few arguments, the value printed cannot be
determined.
If the argument type does not correspond to its conversion field specification,
arguments may be converted incorrectly.
See the Expression Printf command for details about conversion specifiers.
314
The argument is converted to hexadecimal. Letters are
displayed in lower case.
The character % is substituted for the field. Any other
non-conversion character following a % is printed. %% is
used to generate % in the output as a literal character.

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents