Condition Register AND

XL-Form

  • crand BT,BA,BB

Pseudo-code:

CR[BT+32] <-  CR[BA+32] & CR[BB+32]

Special Registers Altered:

CR[BT+32]

Condition Register NAND

XL-Form

  • crnand BT,BA,BB

Pseudo-code:

CR[BT+32] <- ¬(CR[BA+32] & CR[BB+32])

Special Registers Altered:

CR[BT+32]

Condition Register OR

XL-Form

  • cror BT,BA,BB

Pseudo-code:

CR[BT+32] <-  CR[BA+32] | CR[BB+32]

Special Registers Altered:

CR[BT+32]

Condition Register XOR

XL-Form

  • crxor BT,BA,BB

Pseudo-code:

CR[BT+32] <- CR[BA+32] ^ CR[BB+32]

Special Registers Altered:

CR[BT+32]

Condition Register NOR

XL-Form

  • crnor BT,BA,BB

Pseudo-code:

CR[BT+32] <- ¬(CR[BA+32] | CR[BB+32])

Special Registers Altered:

CR[BT+32]

Condition Register Equivalent

XL-Form

  • creqv BT,BA,BB

Pseudo-code:

CR[BT+32] <- ¬(CR[BA+32] ^ CR[BB+32])

Special Registers Altered:

CR[BT+32]

Condition Register AND with Complement

XL-Form

  • crandc BT,BA,BB

Pseudo-code:

CR[BT+32] <- CR[BA+32] &  ¬CR[BB+32]

Special Registers Altered:

CR[BT+32]

Condition Register OR with Complement

XL-Form

  • crorc BT,BA,BB

Pseudo-code:

CR[BT+32] <- CR[BA+32] |  ¬CR[BB+32]

Special Registers Altered:

CR[BT+32]

Move Condition Register Field

XL-Form

  • mcrf BF,BFA

Pseudo-code:

CR[4*BF+32:4*BF+35] <- CR[4*BFA+32:4*BFA+35]

Special Registers Altered:

CR field BF