Binary is known as machine language

advertisement
Binary is known as machine language. Data is stored and manipulated inside the computer in
binary. The binary number sytem is based on two digits, 0 and 1 each number being expressed in
powers of two. The binary number system is much simpler that the decimal system.
It is very compatible with digital electronic circuits that are either ON(0) or OFF (1) also TRUE
(0) or FALSE (1). The two binary digits of 0 and 1 are called bits, which evolves from the two
words binary digits. To count in binary you only have to remember 0 and 1.
The names of the first few places in the binary notation are:
16s
8s
4s
2s
1s
0
0
0
0
0
Notice that these places are powers of two:
16s means 24 or 2x2x2x2
8s means 23 or 2x2x2
4s means 22 or 2x2
2s means 21 or 2
1s means 20
Conversion
Example 1
Write the equivalent of 1101 (base two) in decimal notation.
1
1x8
=8
1
1x4
=4
0
0x2
=0
1
1x1
=1
total
=13
11012 = 1310
1s compliment and 2s compliment used to represent positive and negative number.
5
= 0000 0101
1s compliment of 5
= 1111 1010
2s compliment of 5
= 1111 1010 + 1
= 1111 1011
Actually I want to contact you.
But as you know when I met you on the net I have many things to ask you concerning with the
computer subject and mostly you are with your own work and stress and I decided not to ask any
other body about all the thing I want to know and those things that I want to know in my study
and I also gave up learning any others.
I just stand and live only to support my family with a very small amount.
Most of the time I don’t want to be in a new world, there is no one who knows me.
At that moment I can get relief and forget about my pain and stress.
I thank you all not only you HOT, tayoke , pauk and all the friends.
Here I am nearly mad.
I know by myself, and tried not to mad totally.
That’s not fro me for my mom and for my sons.
For me nothing is need.
Whenever I feel s depressed I see my sons and my mom.
I love them and want them happy.
That’s the only reason I am here.
I really want to hide from the people.
I know, I have some psychological problem, but I tried to cure it by myself.
This is because of depression.
(797
= 0011
0001 1101)
1382
= 0101
0110 0110 +
-797
= 1100
1110 0011
(13 bit) 1
0010
0100 1001
Answer :
10
0100 1001
i.e., equivalent decimal 585
Download