diexq.

DFP Insert Biased Exponent Quad X-form

diexq. RT,RA,RB

Inserts the biased exponent from a source register into a destination register in quad format.

Details

The DFP Insert Biased Exponent Quad instruction inserts the biased exponent value from the source register RA into the quad-precision DFP value in register RB, placing the result in the target register RT. The operation replaces the exponent field of the quad-precision DFP operand with the biased exponent specified by RA, while preserving the significand. The record form (diexq.) updates the condition register field CR1 based on the result.

Pseudocode Operation

Not available in specification

Programming Note

When Rc=1, CR1 is set from the FPSCR[FX, FEX, VX, OX] bits immediately after the operation completes.

Example

diexq. r3, r4, r5

Encoding

Binary Layout
111111
0
RT
6
RA
11
RB
16
11011
21
00010
26
Rc
31
 
Format X-form
Opcode 0xFC0006C4
Extension Decimal Floating-Point

Operands

  • RT
    Target General Purpose Register
  • RA
    Source General Purpose Register
  • RB
    Source General Purpose Register