Tap bits to toggle A, set B, and pick an operation to see the result.
A = 180 (tap bits to toggle)
00000100
Result: 4