Primitive emulations are the reproducing of any particular operation using exclusively operations that do not include the original. There are 3 types of emulations: direct, indirect, and conditional.
a xor b = (a and (not b)) or ((not a) and b) a xor b = not ( (not (a and (not b)) and (not ( (not a) and b ) ) )
a or b = not ( (not a) and (not b) )
not a = a xor 0xff