Binary coded decimal

Binary coded decimal is a way to encode numbers. The number is first split into digits, and each digit is then encoded in binary. This will result in a code from 0 0 0 0 (for "0") to "1 0 0 1" (for 9). The other codes (1010 to 1 1 1 1, representing the numbers 10 to 15) are not valid.

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