Practical Electronics/Binary-coded Decimal

< Practical Electronics

Binary-coded Decimal or BCD is a way of representing a decimal number as a string of bits suitable for use in electronic systems. Rather than converting the whole number into binary, BCD splits the number up into its digits and converts each digit to 4-bit binary.

Thus, for example, 345 becomes

0011 0100 0101

This is 3 digits longer than the real binary equivalent of 345, 101011001, but it has several advantages:

It also has disadvatages:

ICs

SEveral ICs are available to handle BCD counting:

See Also

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.