dcmpo

Decimal Compare Ordered

dcmpo BF, FRA, FRB

Compares two decimal floating-point operands and updates the condition register.

Details

The DFP operand in FRA is compared to the DFP operand in FRB. The result of the compare is placed into CR field BF and the FPCC.

Pseudocode Operation

f1 <- DFP_operation(f2, f3)

Programming Note

dcmpo[q] are treated as Floating-Point instructions in terms of resource availability.

Example

dcmpo cr0, f2, f3

Encoding

Binary Layout
59
0
BF
6
/
9
FRA
11
FRB
16
130
/
 
Format X-form
Opcode 0xEC000104
Extension Decimal Floating-Point
Registers Altered CR, FPSCR

Operands

  • BF
    CR Field
  • FRA
    Src A
  • FRB
    Src B