Logical Operators

Function Key Description
AND Performs a logical "and" on the contents of the X and Y registers. The answer is returned to the X register. The contents of the Y register are lost.
OR Performs a logical "or" on the contents of the X and Y registers. The answer is returned to the X register. The contents of the Y register are lost.
XOR Exclusive or. Performs a logical "exclusive or" on the contents of the X and Y registers. The answer is returned to the X register. The contents of the Y register are lost.
NOT Not (1's complement). Performs a 1's complement on the contents of the X register. The answer is returned to the X register.