English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

wen we add 2 nos in bcd adder we dont get the correct sum in order tat v add (0110)tats 6 to sum result 2 get the correct answer y?

2006-09-02 19:25:29 · 4 answers · asked by teena 1 in Computers & Internet Programming & Design

4 answers

Binary Coded Decimal is simply decimal numbers coded in binary. So the number 5 is represented as 0101, the number 14 is 0001 0100. As you see, each decimal number is coded to 4 bits binary. To add two numbers in BCD, if the result is > 9 0110 must be added because anything above 1001 is not a valid "decimal" number.

Take the numbers I used above, 5 (0101) + 9 (1001) = 14. If you dont add 0110 to the result you would end up with 1110 which is an invalid BCD number. If you add 0110 to the result (1110) you get 0001 0100 which is a valid BCD number.

Note: Valid BCD numbers are
BCD Decimal
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
ANYTHING else is invalid!

2006-09-03 03:05:30 · answer #1 · answered by justme 7 · 1 0

Bcd Adder

2016-11-09 04:06:31 · answer #2 · answered by ? 4 · 0 0

hiiiii,
we add i t bcoz to convert into hexadecimal number of terms that is 15 number of terms
that is in BCD only 9 numbers are there therefore we add 6 to convert it into hexadecimal no. of terms i.e. 15
then we dont get error at all
biiiiiiiiiiiii

2006-09-02 19:51:59 · answer #3 · answered by kalva r 1 · 0 1

i hexadecimal system we have number system as
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E
and F.

SO TO AGAIN PRCEED TO 0 AFTER 9 WE HAVE TO GO AHEAD BY SIX PLACES FOR (A,B,C,D,E,F = 6) WHICH ARE NOT VALID IN BCD

2006-09-02 19:41:20 · answer #4 · answered by Amol 1 · 1 1

fedest.com, questions and answers