nor

NOR

nor RA, RS, RB

Bitwise NOR. RA = ~(RS | RB).

Details

Performs a bitwise NOR operation: RA ← ~(RS OR RB). Each bit position in RA is set to 1 if the corresponding bits in RS and RB are both 0, 0 otherwise. No condition registers or status fields are affected unless an extended form with a recorded bit is used (nor.).

Pseudocode Operation

RA ← ~(RS | RB)

Programming Note

The dcbtst instruction is used to provide a hint about data stream access patterns, which can help optimize cache behavior. It does not perform any actual memory operations; instead, it updates the system's view of the data stream. Ensure that the effective address calculation aligns with your intended use case for optimal performance. This instruction operates at the problem state and above.

Example

nor r4, r3, r5

Encoding

Binary Layout
31
0
RS
6
RA
11
RB
16
124
21
/
31
 
Format X-form
Opcode 0x7C0000F8
Extension Base

Operands

  • RA
    Target
  • RS
    Src A
  • RB
    Src B