Binary math, Figure a-2 bits and bytes, Figure a-3 binary to decimal conversion – Comtech EF Data SLM-5650A Vipersat User Manual
Page 90
Binary Math
A-4
Vipersat SLM-5650A User Guide
Binary Math
Network devices communicate using BITS, where a bit is a single digit repre-
sented by a 1 or a 0, or by using BYTEs, where a byte is made up of eight bits in
any combination of 1’s or 0’s. A byte is also referred to as an octet.
Figure A-2 Bits and Bytes
An octet can be converted to or from binary using the technique shown in the
decimal conversion chart in Figure A-3. The conversion chart also shows the
decimal equivalent of the binary number.
Figure A-3 Binary to Decimal Conversion
Bits containing a 1 in Figure A-3 determine which decimal values should be
added. These decimal values, when added together, determine the decimal
equivalent for the binary number.
This is an example of changing a number expressed in binary (base 2) to its
decimal equivalent (base 10). The numeric value is the same, you have only
128
64
32
16
8
4
2
1
1
1
0
1
1
0
0
0
1
= 165
1
1
1
0
0
0
0
0
= 194
1
1
1
1
1
1
1
1
=
255
128
32
4
1
_____
165