Writing, Iguanas, and Electronics

XNOR Instruction

This instruction performs a logical Exclusive-NOR of the left (Data Bus) and right (B-Register) values, and stores the result in the Output Cache Register. Each output bit will be true when both input bits are true or false.

Logical XNOR Operation

Usage Examples:

        Hex                Mnemonic                      Action

1920       ; XNOR            SP XNOR B -> OCR
19A0       ; XNOR             A XNOR B -> OCR
19C0       ; XNOR             C XNOR B -> OCR

Updates when Executed:

  • ALU Output Cache Register
  • Zero Flag
  • Negative Flag