crnor

Condition Register NOR XL-form

crnor BT,BA,BB

Performs a bitwise NOR operation on the specified bits of the Condition Registers and stores the result in another bit of the Condition Register.

Details

The bit in the Condition Register specified by BA+32 is ORed with the bit in the Condition Register specified by BB+32, and the complemented result is placed into the bit in the Condition Register specified by BT+32.

Pseudocode Operation

CRBT+32 ←¬(CRBA+32 | CRBB+32)

Programming Note

The crnor instruction performs a bitwise OR operation on two condition register bits, then complements the result and stores it in another condition register bit. Ensure that the BA, BB, and BT fields are correctly set to avoid unintended behavior. This instruction operates at user privilege level.

Extended Mnemonics

Extended Mnemonic Equivalent Instruction
crnot
crset

Example

crnor 0, 1, 2

Encoding

Binary Layout
0
0
BT
6
BA
11
BB
16
 
Format XL-form
Opcode 0x4C000042
Extension Base
Registers Altered CR

Operands

  • BT
    Target Condition Register Bit
  • BA
    Source Condition Register Bit
  • BB
    Source Condition Register Bit