Fujitsu CM25-00322-1E Saw User Manual


 
7
CHAPTER 2 OPERATION
2.1.1 Data and Address Formulas (Numerical constant)
The SOFTUNE WORKBENCH provides numeric constants as the terms of data and
address formulas. An integer or floating-point number can be written as a numerical
constant.
Integer
When writing an integer, specify a specifier (B', Q', D', H', 0x) representing the base number of the
numerical value. If no specifier is specified, the base number specified by the default is used. The default
base numbers are determined for each of the locations from which values must be entered. For details, see
each dialog box.
The numerical value representation range is from 0 to H'FFFFFFFF.
However, this range is further restricted, depending on the values to be entered.
The minus values are represented such as -D'1.
(Example)
Binary constant B'1010
Octal constant Q'1267
Decimal constant D'1800
Hexadecimal constant H'12AF or 0x12AF
Note:
No blank is allowed between a specifier and a numerical value.
Floating-point number
The following two floating-point numbers are supported.
- Single-precision floating-point number (S)....float
- Double-precision floating-point number (D)....double, long double
The internal format and size comply with the floating-point type handled by the C compiler.
"d" specifies an unsigned decimal number.
Nearest value rounding applies to input values. If the represented value is not a normalized number, a
warning message is displayed and the following value is input:
- When an underflow occurs .... The values that can be represented as unnormalized numbers are changed
to unnormalized numbers. The values less than unnormalized numbers are
changed to ± 0.
- When an overflow occurs .... Values are changed to infinity.
[F'][ ]{.d|d[.[d]]}[{S|D}[[+| -]d]]