Addition(+) of binary
0 + 1 = 1
1 + 1 = 10 or 0 up to 1
1 + 0 = 1
0 + 0 = 0
Substraction(-) of binary
0 - 1 = 1 take 1
1 - 1 = 0
1 - 0 = 1
0 - 0 = 0
Multiplication(X) of binary
0 X 1 = 0
1 X 1 = 1
1 X 0 = 0
0 X 0 = 0
Division(÷) of binary
0 ÷ 1 = 0
1 ÷ 1 = 1
1 ÷ 0 = 0
0 ÷ 0 = 0
8 4 2 1
10= 1 0 1 0
13= 1 1 0 1
10 1 0 1 0
+13 + 1 1 0 1
23 1 0 1 1 1
65 1 0 0 0 0 0 1
-23 - 1 0 1 1 1
42 0 1 0 1 0 1 0
10 1 0 1 0
x13 X 1 1 0 1
130 1 0 1 0
0 0 0 0
1 0 1 0
1 0 1 0
10 0 0 0 0 1 0
For Example: 111011/11
10011 r 10
_______
11)111011
-11
______
101
-11
______
101
11
______
10
Decimal NS | Hexa Decimal NS | Binary NS |
0 | 0 | 0000 |
1 | 1 | 0001 |
2 | 2 | 0010 |
3 | 3 | 0011 |
4 | 4 | 0100 |
5 | 5 | 0101 |
6 | 6 | 0110 |
7 | 7 | 0111 |
8 | 8 | 1000 |
9 | 9 | 1001 |
10 | A | 1010 |
11 | B | 1011 |
12 | C | 1100 |
13 | D | 1101 |
14 | E | 1110 |
15 | F | 1111 |