Professional Documents
Culture Documents
128 64 32 16 8 4 2 1
173
153
160
120
128
252
255
2
24
32
Convert the below bytes to decimal number
1 1 0 0 1 0 0 1
0 0 0 0 1 0 0 0
1 0 0 0 0 0 0 1
1 0 0 0 0 1 0 0
1 1 1 1 1 1 1 0
1 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0
1 0 0 1 0 0 0 0
Carry out the following binary additions and find the result denary number
1. 1 1 0 0 0 0 0 1 2. 0 0 0 0 1 1 1 1
0 0 0 1 1 1 0 0 1 1 1 1 0 0 0 0
3 1 1 0 0 0 0 1 1 4. 0 0 1 1 1 1 1 1
0 0 1 1 1 1 1 1 0 0 0 1 1 1 1 1
Calculate the two’s complement representation of below numbers and perform the addition. Then show the
result in denary number
1. 28 2. -35
-8 5
3. -126 4. -25
126 -22
1. 25 2. 8
3 3
X2 X2
3. 12 4. 4
4 5
X2 X2
1. 244 2. 60
2 1
÷2 ÷2
3. 112 4. 192
4 5
÷2 ÷2
1. -25 2. -10
X 22 X 23
3. -6 4. 3
4 5
X2 X2
1. -36 2. -50
2 1
÷2 ÷2
3. -96 4. -120
÷ 24 ÷ 22
Add the following 8-bit binary numbers, and give your answer in 8-bit binary form
1 1 0 0 0 1 1 1
1 1 1 1 1 0 0 1
……………………………………………………………………………………………………………………………………………………………………