Logically complements the result of ORing the contents of two general-purpose registers and stores the result in another general-purpose register.
nor | RA,RS,RB |
nor. | RA,RS,RB |
See "Extended Mnemonics of Fixed-Point Logical Instructions" for more information.
The nor instruction logically ORs the contents of general-purpose register (GPR) RS with the contents of GPR RB and stores the complemented result in GPR RA.
The nor instruction has two syntax forms. Each syntax form has a different effect on Condition Register Field 0.
Syntax Form | Overflow Exception (OE) | Fixed-Point Exception Register | Record Bit (Rc) | Condition Register Field 0 |
nor | None | None | 0 | None |
nor. | None | None | 1 | LT,GT,EQ,SO |
The two syntax forms of the nor instruction never affect the Fixed-Point Exception Register. If the syntax form sets the Record (Rc) bit to 1, the instruction affects the Less Than (LT) zero, Greater Than (GT) zero, Equal To (EQ) zero, and Summary Overflow (SO) bits in Condition Register Field 0.
# Assume GPR 4 contains 0x9000 3000. # Assume GPR 6 contains 0x789A 789B. nor 6,4,7 # GPR 7 now contains 0x0765 8764.
# Assume GPR 4 contains 0xB004 3000. # Assume GPR 7 contains 0x789A 789B. nor. 6,4,7 # GPR 6 now contains 0x0761 8764.
Fixed-Point Logical Instructions.