Search for a tool
Binary Coded Decimal (BCD)

Tools to code/decode in BCD. BCD (binary coded decimal) is a numeration system used in electronics and informatics to code decimal numbers on 4 bits (in binary).

Results

Binary Coded Decimal (BCD) -

Tag(s) : Electronics,Informatics

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Binary Coded Decimal (BCD) tool. Thank you.

This page is using the new English version of dCode, please make comments !

Binary Coded Decimal (BCD)

Sponsored ads

This script has been updated, please report any problems.

BCD Decoder



Also on dCode: Binary Code

BCD Encoder



Also on dCode: Binary Code

Tools to code/decode in BCD. BCD (binary coded decimal) is a numeration system used in electronics and informatics to code decimal numbers on 4 bits (in binary).

Answers to Questions

How to encrypt using BCD coding

Encryption replaces directly digits 0,1,2,...9 by values 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000 and 1001

One want to code 123 : 1 => 0001, 2 => 0010 and 3 => 0011

123 is coded 0001 0010 0011 in BCD

How to decrypt BCD coding

Decryption replaces 4bit groups by the associated digit

0001 0010 0011 is decode 1 2 3

How to recognize an BCD ciphered text?

The message has a length multiple of 4href and never contains 1111.

How to write a negative number?

Some systems uses 1100 for + and 1101 for -

-5 is written 1101 0101

How to write a non-integer number?

It is possible to use 1100,1101 or 1110 for the decimal dot, bu more often the position of the decimal dot is fixed a priori.

For example, id the dot is in 2nd position, 123 will be read 1.23.

What is BCD purpose?

BCD is often used in electronics, for storing or displaying numeric values. Conversion is easy, does not need a processor and is similar to peripherals such as 7-segment displays.

Another example is the storing of Dates in a BIOS of a motherboard, still today in BCD.

What are BCD values non used in decimal representations?

Unused values are 1010, 1011, 1100, 1101, 1110, 1111

When BCD have been invented?

Between 1950 and 1960

Ask a new question

Source code

dCode retains ownership of the source code of the script Binary Coded Decimal (BCD). Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Binary Coded Decimal (BCD) script for offline use, for you, your company or association, see you on contact page !

Questions / Comments


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Binary Coded Decimal (BCD) tool. Thank you.


Source : http://www.dcode.fr/binary-coded-decimal
© 2016 dCode — The ultimate 'toolkit' website to solve every problem. dCode