Fixed-point compare instructions
The fixed-point compare instructions algebraically or logically compare the contents of register RA.
The fixed-point compare instructions algebraically or logically compare the contents of register RA with one of the following:
- The sign-extended value of the SI field
- The UI field
- The contents of register RB
Algebraic comparison compares two signed integers. Logical comparison compares two unsigned integers.
There are different input operand formats for POWER® family and PowerPC®, for example, the L operand for PowerPC®. There are also invalid instruction form restrictions for PowerPC®. The assembler checks for invalid instruction forms in PowerPC® assembly modes.
Extended mnemonics for fixed-point compare instructions are discussed in Extended mnemonics of fixed-point arithmetic instructions.