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.
BCD (Binary Coded Decimal) output can be generated using decimal-to-BCD conversion algorithms. One common method involves dividing the decimal number by 10 and storing the remainder as the Binary Coded Decimal digit. This process is repeated until all decimal digits are converted into BCD form. Alternatively, some microcontrollers have built-in instructions to directly convert decimal numbers to BCD format.
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