📖⚡XOR ( Binary Bits)

Applies logical XOR to the BITS of 2 binary values.

 

Syntax

LET ResultVariable = Value1 XOR Value2

Example

LET B0 = %11110000 XOR %10101010


' XOR (Bitwise) Example
' XOR.txt
' Kic8 

' The result will have 1 in a column as long as:
' One row has a value of 1
' Both rows are different
' Result = (A XOR B)
  
'   11110000
'   10101010 OR
' = 01011010

LET B0 = %11110000 XOR %10101010


todo: Tutorials: More Operators