Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Computation
Outline
Decimal
Binary
Octal
Hexadecimal
5-1
weights
1-2
weights
1-3
Keep dividing by 2
Remainders are binary sequence of the given
decimal
Keep multiplying by 2
Binary sequence of values above decimal point
1-4
1-5
weights
1-6
Hex
1-7
Hex
1-8
111
3758
+ 4657
8415
(carry)
3758
+4657
-
14 11 15
10 10 10 (subtract the base)
8415
0+0=0
0+1=1
1+0=1
Verification
5510
+ 2810
8310
64 32 16 8 4 2 1
1 0 1 0011
= 64 + 16 + 2 +1
= 8310
Verification
100111
+ 010110
+ ___
___________
128 64 32 16 8 4 2 1
=
=
2 4 5 78
(subtract Base (8))
3 7 F 216
20 18 11
16 16
(subtract Base (16))
B 4 2 B16
8 A D 416
+
5 D 616
-
7 13 10
8 4 1 15
4 6 5 7
3 7 5 8 10
10 10
7 3 0 10
8 4 1
5
15
-4 6 5
7
3 7 5 8
13
1 21
02 022
1010011
- 011100
1 1 0 111
- 2810
5510
64 32 16 8 4 2 1
1 1 0 1 1 1
= 32 + 16 + + 4 + 2
+1
= 5510
Verification
100111
- 010110
- ___
___________
128 64 32 16 8 4 2 1
=
=
3 5 3 68
- 2 4 5 78
B 16
7 C 3 916
19
3 7 F 216
4 4
4 716
5 D 616
16
Notations to distinguish
1-24