dcmpo

Decimal Compare Ordered

dcmpo BF, FRA, FRB

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

Encoding

Binary Layout
59
0:5
BF
6:8
/
9:10
FRA
11:15
FRB
16:20
130
21:30
/
31
 
Format X-form
Opcode 0xEC000104

Operands

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

Example

dcmpo cr0, f2, f3

Registers Altered

CR, FPSCR

Related

More in Decimal Floating-Point

Reference

Description

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.

Operation

f1 <- DFP_operation(f2, f3)

Programming Note

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