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
Yes , it is a self complementry code but not a weighted code
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
BCD is a decimal number. BCD is one specific way to store decimal numbers in computer memory.
12
A: A Binary code represent a binary number 0.1.2.4.8. etc. that is why it is called a weighted number
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
Weighted codes assign different significance to each digit in a number representation, such as 8421 BCD code assigns weights of 8, 4, 2, and 1 respectively to each bit. In contrast, non-weighted codes like Gray code do not follow a positional weight pattern, where only one bit changes at a time when moving from one value to another to reduce errors in analog-to-digital conversion systems.
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
Weighted codes have there bits presented in weightage. Simply put weighted codes are codes used for arithmetic operation. And unweighted codes there are no values for the bits. Simply put they can not be used for calculations. Examples are 8421 (BCD) binary, hex, octal ETC. For the former And grey codes, excess-3 etc. For the later.
weighted
Weighted codes have there bits presented in weightage. Simply put weighted codes are codes used for arithmetic operation. And unweighted codes there are no values for the bits. Simply put they can not be used for calculations. Examples are 8421 (BCD) binary, hex, octal ETC. For the former And grey codes, excess-3 etc. For the later.
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
9