|
Bi-quinary coded decimal is a numeral encoding scheme used in many abacuses and in some early computers, including the Colossus. The term bi-quinary indicates that the code comprises both a two-state (bi) and a five-state (quinary) component. The encoding resembles that used by many abaci, one bead indicating 0..4 or 5..9 and 4 beads indicating which of those ranges. DecodingTo decode the Biquinary code use the number 5043210. At each digit multiple the biquinary number times the number 5043210. This will give you the decimal number. For example take the number 0110000. To change this into Decimal: (5 * 0) + (0 * 1) + (4 * 1) + (3 * 0) + (2 * 0) + (1 * 0) + (0 * 0) = 4 ExamplesSeveral different representations of bi-quinary coded decimal have been used by different machines. The two-state component is encoded as one or two bits, and the five-state component is encoded using three to five bits. Some examples are:
See also |
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net