0100 0010 0110 1000 1001 0110 0010 0111bcd = 4268962710
Chat with our AI personalities
Decimal 30 = binary 11110. The decimal binary code (BCD), however, is 11 0000.
Binary Coded Decimal (BCD) is a set of coding systems for storing decimal digits in binary code. There are several such codes, I will give examples of 3: straight BCD, XS3 BCD, and 2 of 5 BCD. Straight BCD uses the actual binary value of the decimal digit value: 0 = 0000 1 = 0001 2 = 0010 3 = 0011 4 = 0100 5 = 0101 6 = 0110 7 = 0111 8 = 1000 9 = 1001 XS3 BCD adds 3 to the binary value of the decimal digit value to make the code: 0 = 0011 1 = 0100 2 = 0101 3 = 0110 4 = 0111 5 = 1000 6 = 1001 7 = 1010 8 = 1011 9 = 1100 2 of 5 BCD uses a 5 bit code where only 2 bits can be on in a decimal digit's code: 0 = 00011 1 = 11000 2 = 10100 3 = 10010 4 = 10001 5 = 01100 6 = 01010 7 = 01001 8 = 00110 9 = 00101
what is weighted codes: The decimal value of a code is obtained summing up the positional values. weghted binary code s are those which obey positional weighting principle. each position of number represents a specific weight. There are millions of weighted code The most common one is 8421 Non weighted codes: This codes are not positionaly weghted. each position with in the binary no is not assgned to afixed value.Examples of nonweghted code is ASCCI, GREY CODE, EBCDIC CODE etc
BCD refers to Binary Code Decimal there are no diagrams it is just a numbers system GRAY code is a means to make one reliable state to change at a time eliminating false coding because of transitions in counters and such
BCD can be converted into 7segment display by using an encoder.