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.

Encoding

Binary Layout
0
0:5
BT
6:10
BA
11:15
BB
16:31
 
Format XL-form
Opcode 0x4C000042
Extension Base

Operands

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

Example

crnor 0, 1, 2

Registers Altered

CR

Related

More in Base

Reference

Description

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.

Operation

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

Extended Mnemonics

Extended Mnemonic Equivalent Instruction
crnot
crset

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.