dsri
Decimal Shift Coefficient Right Immediate
dsri FRT, FRA, SH
Shifts the coefficient of a DFP number right.
Details
Shifts the coefficient of a 64-bit Decimal Floating-Point number right by an immediate amount (0–63 places), with zeros shifted in from the left. The exponent remains unchanged. This instruction is part of the Decimal Floating-Point extension and does not affect condition registers unless Rc=1.
Pseudocode Operation
coefficient ← coefficient >> SH
FRT ← DFP_construct(sign, exponent, coefficient)
Example
dsri f1, f2, 3
Encoding
Binary Layout
59
0
FRT
6
FRA
11
SH
16
98
21
Rc
31
Operands
-
FRT
Target -
FRA
Source -
SH
Shift Amount