4.5.1 Logical Functions
Format:
mnemonicRa.rq,Rb.rq,Rc.wq
mnemonicRa.rq,#b.ib,Rc.wq
Operation:
| Rc ← Rav AND Rbv | !AND | 
| Rc ← Rav OR Rbv | !BIS | 
| Rc ← Rav XOR Rbv | !XOR | 
| Rc ← Rav AND {NOT Rbv} | !BIC | 
| Rc ← Rav OR {NOT Rbv} | !ORNOT | 
| Rc ← Rav XOR {NOT Rbv} | !EQV | 
| Exceptions: | 
 | 
| None | 
 | 
| Instruction mnemonics: | 
 | 
| AND | Logical Product | 
| BIC | Logical Product with Complement | 
| BIS | Logical Sum (OR) | 
| EQV | Logical Equivalence (XORNOT) | 
| ORNOT | Logical Sum with Complement | 
| XOR | Logical Difference | 
!Operate format
!Operate format
Qualifiers:
None
Description:
These instructions perform the designated Boolean function between register Ra and register Rb or a literal. The result is written to register Rc.
The NOT function can be performed by doing an ORNOT with zero (Ra = R31).
