Вы находитесь на странице: 1из 2

digital logic - Why do we add 6 in BCD addition?

- Electrical Engineering Stack Exchange

1 de 2

http://electronics.stackexchange.com/questions/87211/why-do-we-add-6-in-bcd-addition

sign up

log in tour

Here's how it works:

Electrical Engineering Stack Exchange


is a question and answer site for
electronics and electrical engineering
professionals, students, and
enthusiasts. It's 100% free.

Anybody can ask


a question

Sign up

help

Anybody can
answer

The best answers are voted


up and rise to the top

Why do we add 6 in BCD addition?


Sometimes, if the sum of two digits are < 10, BCD addition is similar to binary
addition.
But sometimes if the sum > 9, the result requires a correction. This corrections is
+( 0110).
Why do we add 6? Why not some other number? I searched the web, but I don't
understand.

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

edited Nov 1 '13 at 23:43

asked Nov 1 '13 at 23:35

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

answered Nov 1 '13 at 23:39

Kaz
14.3k

17

+1 for the clock analogy Andy aka Nov 2 '13 at 0:08

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

Вам также может понравиться