dcffix
Decimal Convert From Fixed
dcffix FRT, FRB
Converts a 64-bit integer to DFP.
Details
Converts a 64-bit signed integer from FRB to a decimal floating-point value and places it in FRT. The integer is interpreted as a two's-complement 64-bit value. The result is an exact representation in the decimal floating-point format. FPSCR is updated if the integer is out of range for DFP.
Pseudocode Operation
integer_value ← FRB[0:63] (signed)
FRT ← convert_to_DFP(integer_value)
FPSCR ← updated based on conversion result
Example
dcffix f1, f3
Encoding
Binary Layout
59
0
FRT
6
0
11
FRB
16
802
21
/
31
Operands
-
FRT
Target -
FRB
Source -
RT
Target General Purpose Register -
RA
Source General Purpose Register -
RB
Source General Purpose Register