Академический Документы
Профессиональный Документы
Культура Документы
1 de 2
http://electronics.stackexchange.com/questions/87211/why-do-we-add-6-in-bcd-addition
sign up
log in tour
Sign up
help
Anybody can
answer
If you want links of this question that have been asked in the past:
http://answers.yahoo.com/question/index?qid=20070930062637AAzyBlv
http://www.physicsforums.com/showthread.php?t=639798
digital-logic
JYelton
13.1k
mine wwe
17
60
121
31
1 Answer
05/03/2016 17:59
digital logic - Why do we add 6 in BCD addition? - Electrical Engineering Stack Exchange
2 de 2
http://electronics.stackexchange.com/questions/87211/why-do-we-add-6-in-bcd-addition
Four binary digits count up to 15 (1111) but in BCD we only use the
representations up to 9 (1001). The difference between 15 and 9 is 6. If you
want 9+1 to produce 10, which is 1 0000, you have to add 6 to make 1010
wrap to 1 0000.
If you're adding minutes, you similarly add 40 to a time which exceeds 59
minutes. Example: 45 minutes plus 35 minutes is 80 minutes. Correction, add
40 to make 120. Now insert a colon: 1:20. One hour, twenty minutes. 40 is the
difference between 100 and 1:00.
edited Nov 2 '13 at 0:10
Kaz
14.3k
17
Too many upvotes for the obvious and marginally topical! Why don't you guys find some
difficult electronic design answer which doesn't have 11 upvotes and give it one. Kaz Nov 2
'13 at 14:09
55
Okay, that new vote was clearly just to spite my comment. Kaz Nov 4 '13 at 2:25
Folk are reacting against you now that you are going down the anti-dumb-down route LOL retaliation by voting heh heh Andy aka Nov 4 '13 at 8:17
05/03/2016 17:59