DED
The value in ACCU 1 (bits 0 to 31) is interpreted as a BCD number. After
the conversion, ACCU 1 contains a 32-bit fixed point number.
DUD
The value in ACCU 1 (bits 0 to 31) is interpreted as a 32-bit fixed
point number. After the conversion, ACCU 1 contains a BCD number.
31 30
0
S 2
30
. . . .
. . . . . 2
0
DUD
↓
DED
↑
31
0
S S S S
10
6
10
5
10
4
10
3
10
2
10
1
10
0
S (sign):
0 = positive
1 = negative
FDG
The value in ACCU 1 (bits 0 to 31) is interpreted as a 32-bit fixed
point number. After the conversion, ACCU 1 contains a floating point
number (exponent and mantissa).
GFD
The value in ACCU 1 (bits 0 to 31) is interpreted as a floating point
number. After the conversion, ACCU 1 contains a 32-bit fixed point
number.
31 30
0
S 2
30
. . . .
. . . . . 2
0
FDG
↓
GFD
↑
31 30 ...
... 24 23
0
S 2
6
. . . . . . . . . . . . . . 2
0
S 2
-1
. . . . .
. . . . . 2
-23
Exponent
Mantissa
The conversion is made by multiplying the (binary) mantissa by the value
of the (binary) exponent by shifting the mantissa value to more significant
bits past an imaginary decimal point by the value of the exponent (base
2). After the multiplication, remnants of the original mantissa remain to
the right of the imaginary decimal point. These bit places are cut off from
the whole result.
Executive Operations
CPU 948 Programming Guide
3 - 64
C79000-G8576-C848-04
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...