Example
Binary 00111000
Convert to Decimal 56
Convert to BCD by using groups of four binary numbers for each digit
5 6
0101 0110
All possible 2-bit numbers ... 0, 1, 2, and 3 ... are the same in BCD and binary. No conversion is required.
In BCD each digit of a decimal number is coded as a separate 4 bit binary number between 0 and 9.For example:Decimal 12 in BCD is shown as 0001 0010 (Binary 1 and Binary 2), in Binary it is 1100.
In BCD it is 00100111 In Binary, which is what you mean, it is 101111
Write a program to convert a 2-digit BCD number into hexadecimal
BCD is used for binary output on devices that only display decimal numbers.
41 in decimal is 0100 0001 in BCD (this is 8 bits not 6 bits)41 in decimal is 101001 in binary (this is 6 bits, but binary not BCD)There is no 6 bit BCD representation of the decimal number 41!
Binary coded decimal (BCD) is easier to convert between displayed or printed form than is pure binary.
WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL
A: A Binary code represent a binary number 0.1.2.4.8. etc. that is why it is called a weighted number
I want answer bcd This in (a) 12 b() 13 (c)14 (d)15
because 9 is a lucky number for bcd..............ha ha ha
the first time write the binary coded decimal as input write its truth tablle to nine and after nine put the all position dont care to number fifteen same is also for excess three write its truth table to 9 and from 9 to 15 dont care then simplifiy each output coloumn by K_MAp to find out th circiut