4 full adders will be used BCD is a 4 bit code. Each bit of the BCD number will be an input of each full adder. input 1 in first FA. 1 in second and 0 in the last to FA's
check this link for the code:http://www.dnatechindia.com/index.php/Code-Library/8051_ASSEMBLY/12-bit-HEX-to-BCD-Convertor.htmlhttp://www.dnatechindia.com/index.php/Code-Library/8051_ASSEMBLY/8-bit-HEX-to-BCD-convertor.htmlA: The conversion is simple really a group of FOUR bits are usually the best method to simplify a BCD of four bits in hexadecimal. Example 1111 is just written F If it was written in octal the bits will be 3 as 111 or 7. As BCD becomes longer and longer these two methods were used to simplify the code a128 bits in BCD will be 8 zeros and ones or simply FF in octal notation it becomes 277
1, 3, 263, 789.
0.0292
789 is an odd number.
A 4 BCD code is a 4 decimal-digit BCD code, thus a 16 digit binary-code. You take the decimal number 3545. It's BCD code is 0011 0101 0100 0101 where every 4 bits represent a decimal digit.
BCD code isn't valid for these integers , 10 , 11 , 12 , 13 , 14 i.e if these integers ae converted to binary code they 'd be called wrong BCD
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
detects the invalid portion of the bcd number codes (1010-1111)
i dont know 1001+1001 - Constructing a BCD-to-excess-3-code converter with a 4-bitt adder we know that the excess-3 code digit is obtained by adding three to the corresponding BCD digit. To change the circuit to an excess-3-to-BCD-code converter we feed BCD-code to the 4-bit adder as the first operand. Then feed constant 3 as the second operand. The output is the corresponding excess-3 code. To make it a BCD to excess-3 converter, we feed the 2's complement of 3 as the second operand. - Constructing a BCD-to-excess-3-code converter with a 4-bitt adder we know that the excess-3 code digit is obtained by adding three to the corresponding BCD digit. To change the circuit to an excess-3-to-BCD-code converter we feed BCD-code to the 4-bit adder as the first operand. Then feed constant 3 as the second operand. The output is the corresponding excess-3 code. To make it a BCD to excess-3 converter, we feed the 2's complement of 3 as the second operand.
advantages of bcd codes:-- it combine all basic numbers- it is easilly understand by human beings
11010010
9
0100 0111 4 7
The decimal number 10, represented in BCD is 0001 0000. If, instead, you mean that you have 10 in BCD and want to know what that means, that is equivalent to 0000 0010 and would be 2 in decimal.
4 full adders will be used BCD is a 4 bit code. Each bit of the BCD number will be an input of each full adder. input 1 in first FA. 1 in second and 0 in the last to FA's