How to calculate
Set a result bit when at least one of the corresponding operand bits is one. Each operand is wrapped to the selected word width before evaluating.
Worked example
Use First operand A5 · Second operand 3C · Operand base Hexadecimal · Word width 8 bits. The result is 10111101.
Input and result notes
Enter the numbers without a base prefix. A leading minus sign is allowed and is wrapped to the selected width.
MIT two’s complement and bitwise shifts