Service manual

STP 11-25R13-SM-TG
Q - 17
(6) Binary to octal conversion is commonplace. A typical binary indication using a light panel
(display register) is shown in Figure Q-4.
Figure Q-4. Binary Indication
(7) The 18 lights have one of two states, OFF or ON, representing a binary 0 or 1. For the purpose
of this appendix, OFF represents a binary 0 and ON represents a binary 1.
(8) To convert the binary readout to an octal number, divide the lights into groups of three, starting
at the far right. This grouping of three has been detailed in Table Q-11, but may not appear on all display
registers. Now there are six groups of display lights, sectioned into groups of three, with each group
representing a single octal digit as shown in Table Q-11. Conversion can be accomplished by direct
substitution.
Table Q-11. Conversion of Binary to Octal
(9) The octal equivalent of the 18-bit binary number is 763251
8
.
(10) Most computers have a self-test capability. The final light display (whether in octal or binary)
will indicate a good computer or one with a malfunction. Suppose that you have just finished running a
computer self-test procedure, and you obtained the light display shown in Figure Q-4.
(11) The proper pass indication for this test is given in octal as 464157
8
. Any other indication
means that the test has failed. Did the self test pass? Converting the binary readout to octal we get
263157
8
, which means the self-test has failed. Being able to recognize the octal equivalent of any group
of three binary bits is essential for rapid, accurate conversions.
(12) Conversion of an octal number to a decimal number is similar to converting a binary number
to a decimal number. Each octal digit is multiplied by its place value, and then the decimal equivalents
are added. The conversion of octal number 167 is illustrated in the example.
Power of 8
Decimal Number Octal Equivalent
8
2
64 1 64 x 1 = 64
8
1
8 6 8 x 6 = 48
8
0
1 7 1 x 7 = 7
119
10
Thus, 167
10
equals 119
10
.
Binary number 111 110 011 010 101 001
Octal number 7 6 3 2 5 1