dsri
Decimal Shift Coefficient Right Immediate
dsri FRT, FRA, SH
Shifts the coefficient of a DFP number right.
Encoding
Binary Layout
59
0:5
FRT
6:10
FRA
11:15
SH
16:20
98
21:30
Rc
31
Operands
-
FRT
Target -
FRA
Source -
SH
Shift Amount
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
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.
Operation
coefficient ← coefficient >> SH
FRT ← DFP_construct(sign, exponent, coefficient)