Digital Logic - Why Do We Add 6 in BCD Addition_ - Electrical Engineering Stack Exchange

Embed Size (px)

Citation preview

  • 8/18/2019 Digital Logic - Why Do We Add 6 in BCD Addition_ - Electrical Engineering Stack Exchange

    1/2

    sign up log in tour help

     _ Electrical Engineering Stack Exchange

    is a question and answer site for 

    electronics and electrical engineering

    professionals, students, andenthusiasts. It's 100% free.

    Sign up

    Here's how it works:

     Anybody can ask

    a question

     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

    JYelton

    13.1k 17 60 121

    asked Nov 1 '13 at 23:35

    mine wwe

    31 1 5

    1 Answer 

    digital logic - Why do we add 6 in BCD addition? - Electrical Engineering Stack Exchange http://electronics.stackexchange.com/questions/87211/why-do-we-add-6-in-bcd-addition

    1 de 2 05/03/2016 17:59

  • 8/18/2019 Digital Logic - Why Do We Add 6 in BCD Addition_ - Electrical Engineering Stack Exchange

    2/2

    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 1 17 55

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

    1

     –

    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

     –Okay, that new vote was just to spite my comment.clearly  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

    digital logic - Why do we add 6 in BCD addition? - Electrical Engineering Stack Exchange http://electronics.stackexchange.com/questions/87211/why-do-we-add-6-in-bcd-addition

    2 de 2 05/03/2016 17:59