Places the result of ANDing two Condition Register bits in a Condition Register bit.
crand | BT,BA,BB |
The crand instruction logically ANDs the Condition Register bit specified by BA and the Condition Register bit specified by BB and places the result in the target Condition Register bit specified by BT.
The crand instruction has one syntax form and does not affect the Fixed-Point Exception Register.
BT | Specifies target Condition Register bit where result of operation is stored. |
BA | Specifies source Condition Register bit for operation. |
BB | Specifies source Condition Register bit for operation. |
The following code logically ANDs Condition Register bits 0 and 5 and stores the result in Condition Register bit 31:
# Assume Condition Register bit 0 is 1. # Assume Condition Register bit 5 is 0. crand 31,0,5 # Condition Register bit 31 is now 0.
Condition Register Instructions.