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
Operands
-
BT
Target Condition Register Bit -
BA
Source Condition Register Bit -
BB
Source Condition Register Bit
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
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.