请输入您要查询的百科知识:

 

词条 Aiken code
释义

  1. See also

  2. References

  3. Further reading

{{Infobox code
|name=Aiken code
|digits=4[2]
|tracks=4[2]
|digit_values=2 4 2 1[2]
|weight=0..4[2]
|continuity=no
|cyclic=no[2]
|minimum_distance=1[2]
|maximum_distance=4[2]
|redundancy=0.7
|lexicography=yes[2]
|complement=9[2]
}}

The Aiken code (also known as 2421 code)[2] is a complementary binary-coded decimal (BCD) code. A group of four bits is assigned to the decimal digits from 0 to 9 according to the following table. The code was developed by Howard Hathaway Aiken and is still used today in digital clocks, pocket calculators and similar devices.

The Aiken code differs from the standard 8421 BCD code in that the Aiken code does not weight the fourth digit as 8 as with the standard BCD code but with 2.

The following weighting is obtained for the Aiken code: 2-4-2-1.

One might think that double codes are possible for a number, for example 1011 and 0101 could represent 5. However, here one makes sure that the digits 0 to 4 are mirror image complementary to the numbers 5 to 9.

Aiken code
Decimal
digit
Aiken
2 4 2 1
code[2]
00 0 0 0
10 0 0 1
20 0 1 0
30 0 1 1
40 1 0 0
51 0 1 1
61 1 0 0
71 1 0 1
81 1 1 0
91 1 1 1

See also

  • Excess-3 code
  • Gray code

References

1. ^10 11 {{cite book |title=Taschenbuch der Informatik – Band II – Struktur und Programmierung von EDV-Systemen |language=German |editor-first1=Karl W. |editor-last1=Steinbuch |editor-link1=Karl W. Steinbuch |editor-first2=Wolfgang |editor-last2=Weber |editor-first3=Traute |editor-last3=Heinemann |date=1974 |orig-year=1967 |edition=3 |volume=2 |work=Taschenbuch der Nachrichtenverarbeitung |publisher=Springer Verlag |location=Berlin, Germany |isbn=3-540-06241-6 |lccn=73-80607 |pages=98–100}}
2. ^ -->{{cite journal |author-first=Garland S. |author-last=White |title=Coded Decimal Number Systems for Digital Computers |date=October 1953 |volume=41 |issue=10 |journal=Proceedings of the IRE |pages=14450-1452 |issn=0096-8390 |doi=10.1109/JRPROC.1953.274330}}

3 : Computer arithmetic|Numeral systems|Non-standard positional numeral systems

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 17:39:07