How this calculation works
Evaluate the three common bitwise operations on two 16-bit unsigned words.
Compare corresponding bits for AND, OR and XORA worked example
12 and 10 have AND 8, OR 14 and XOR 6.
Good to know
Values are unsigned. Leading zeros do not change the integer.
Reference: NIST DLMF, Functions of Number Theory (opens in a new tab) ↗
Read the result
Evaluate the three common bitwise operations on two 16-bit unsigned words.
The primary result is labeled “AND”. Keep the input definitions in view when comparing this result with another method.
Try a related calculation
Values are unsigned. Leading zeros do not change the integer.
For a related exercise, try the greatest common divisor.
A few questions, answered
How can I check the default inputs by hand?
12 and 10 have AND 8, OR 14 and XOR 6.
Which rule does this calculator apply?
Compare corresponding bits for AND, OR and XOR