summaryrefslogtreecommitdiff
path: root/3860/CH1/EX1.15/Ex1_15.txt
blob: 71678686196909d56fea51e5687e32174a89dca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
  binary form of the number obtained by adding 7 to -5 

 10010

  the msb is discarded,so four bit representation in binary form =

 0010

 *****************************************************************

  binary form of the number obtained by adding +5 to -5 

 10000

  the msb is discarded,so four bit representation in binary form =

 0000

 *****************************************************************

  binary form of the number obtained by adding +3 to -5 

 01110

  the msb is discarded,so four bit representation in binary form =

 1110

 *****************************************************************