camsgogl.blogg.se

Numeric meaning
Numeric meaning








numeric meaning

#Numeric meaning code

The rules of addition are the same as for the conversion of BCD to Gray Code.įind the Decimal value of the Gray Code Number 1100. (ii) The second and the succeeding bits will each be the sum of the corresponding bit in the Gray Code and the previous bit in the BCD Code. (i) The most significant Bit in the BCD Code is the same as that in the Gray Code.

numeric meaning

To convert a number from the Gray Code to the BCD Code the following steps are to be used: In Electronic circuits, devices known as XOR Gates are used for the conversion of BCD Code into Gray Code. This is adopted to maintain a Hamming Distance of 1 between 9 and 0. Please note this method is not applicable to the Decimal number 9. (iii) 1 + 1 = 0 (with a carry of 1, which is to be neglected).įind the Gray Code of the Decimal number 5. While calculating the sum, the following guidelines should be observed: (iii) The second and the successive bits in the Gray Code will be the sum of the Bit in the position and the previous position in the BCD Code. (ii) The most significant Bit in the Gray Code is the same as in the BCD Code Because of this, Excess Three Code is said to be self-complementing. This applies to all decimal digits 0 to 9 (refer Table 3.4). This represents 3 in the Excess Three Code itself. The decimal digit 6 will be expressed in the Excess Three code as 1001. In this case, it will be 1001, which is 9 in the Decimal system and not 3. The BCD code is not a self- complementing code in the sense that the Binary Form complement of a decimal number will not be its Decimal form complement, (e.g,) 6 in BCD Code is 0110 complement of this Binary form is obtained by replacing all l’s by 0’s and vice versa. In a Binary Code, 1 and 0 are each complement to the other. The complement of any single digit in any number system is the difference between the maxi­mum value of a discrete character in that system and the number under consideration, (e.g.,) In the Decimal system, the complement, of 6 is 3 (i.e.,) (9 - 6). The Excess Three Code is said to be Self-Complementing code. The BCD code of 7, namely 0111 will be 4 in the Excess Three Code (refer Table 3.4). This is a Binary code in which each decimal number is expressed in excess of three, i.e, 3 is added to the decimal number and then coded into Binary digits, e.g, to get the Excess Three Code of 4, 3 is added to it which gives 7.










Numeric meaning