Perform arithmetic in binary
A in decimal
10
B in decimal
12
A + B (Addition)
10110
= 22 decimal
A - B (Subtraction)
-10
= -2 decimal
A × B (Multiplication)
1111000
= 120 decimal
A ÷ B (Division)
0
= 0 decimal
Bitwise Operations
A AND B
1000
A OR B
1110
A XOR B
110
NOT A
0101
Bit Shift Operations on A
Left Shift (A << 1)
10100
Right Shift (A >> 1)
101
A in Other Bases
Bit Visualization (A)
Two's Complement (8-bit)