Binary Math

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-2Bits 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.

128 64 32 16

8

4

2

1

1

1

0

1

0

0

1

0

1

=

165

1

1

0

0

0

0

1

0

=

194

1

1

1

1

1

1

1

1

=

255

128

32

4

1

_____

165

Figure A-3Binary to Decimal Conversion

Bits containing a 1 in Figure A-3determine 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 changed the numbering base (radix.) All digital processes are done in binary.

A-4

Vipersat CDM-570/570L User Guide

Page 90
Image 90
Cables to Go CDM-570L manual Binary Math, Figure A-2Bits and Bytes