dxexq

Decimal Extract Exponent Quad-Precision

dxexq vD, vB

Extracts exponent from 128-bit DFP.

Details

The dxexq instruction extracts the biased exponent from a quad-precision DFP operand and places it into the destination register.

Pseudocode Operation

f1 <- DFP_operation(f2, f3)

Programming Note

The dxexq instruction is used to extract the biased exponent from a quad-precision decimal floating-point number. Ensure the source operand is properly aligned, as misalignment can lead to exceptions. This operation requires FPSCR (Floating Point Status and Control Register) to be correctly set for proper rounding modes and exception handling.

Example

dxexq vd, vb

Encoding

Binary Layout
63
0
vD
6
0
11
vB
16
354
21
/
31
 
Format X-form
Opcode 0xFC0002C2
Extension Decimal Floating-Point
Registers Altered FPSCR

Operands

  • vD
    Target
  • vB
    Source