Skip to content

VLSIFacts

Let's Program the Transistors

  • Home
  • DHD
    • Digital Electronics
    • Fault Tolerant System Design
    • TLM
    • Verification
    • Verilog
    • VHDL
    • Xilinx
  • Embedded System
    • 8085 uP
    • 8086 uP
    • 8051 uC
  • VLSI Technology
    • Analog Electronics
    • Memory Devices
    • VLSI Circuits
  • Interview
    • Interview Experience
    • Training Experience
    • Question Bank
  • Notifications
  • QUIZ
  • Community
  • Job Board
  • Contact Us
  • Toggle search form

BCD Addition

Posted on March 15, 2023March 15, 2023 By vlsifacts 2 Comments on BCD Addition

BCD numbers are numerical numbers. So, arithmetic operations can be performed on BCD numbers. Imagine a seven-segment timer display system showing 2 digits for the count of seconds. After every second, the timer should be incremented by 1. This means that the timer display system requires a BCD adder at the backend, whose output is shown on display.

So, let’s learn how to add two BCD numbers. Though BCD addition follows the rules of binary arithmetic, there are some additional things that need to be taken care of.

Steps of BCD Addition

  • Step 1: Add the two BCD numbers using the rules for binary addition.
  • Step 2: If a 4-bit sum is equal to or less than 9, it is a valid BCD number.
  • Step 3: If a 4-bit sum is greater than 9 or if a carry-out of the 4-bit group is generated, it is an invalid result. Add 6 (0110) to the 4-bit sum in order to skip the six invalid BCD code words and return the code to 8421. If a carry results when 6 is added, simply add the carry to the next 4-bit group.

Example 1: Find the sum of the BCD numbers 01000011 + 00110101

Solution:

Decimal number of the given BCD numbers are as below:

01000011BCD = 4310 and 00110101BCD = 3510

Example of BCD Addition

In the above example, all the 4-bit BCD additions generate valid BCD numbers, which means less than 9. So, the final correct result is 7810 = 01111000BCD.

Let’s take an example where the addition generates an invalid BCD number.

Example 2: Find the sum of the BCD numbers 01110101 + 00110101

Solution:

The decimal number of the given BCD numbers are as below:

01110101BCD = 7510 and 00110101BCD = 3510

 

Another Example of BCD Addition

In the above example, both the BCD code addition generated result larger than 9, so invalid. To get the correct result, we added 6 (01102) to both the invalid sum. Notice that the carry generated from the left group is forwarded to the right group. The final correct result is 11010 = 000100010000BCD.

Previous           Table of Content           Next

 

Spread the Word

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print

Like this:

Like Loading...

Related posts:

  1. How to Convert Binary to BCD and BCD to Binary
  2. Binary Coded Decimal
  3. What are the Different Types of BCD Codes
  4. How to Convert Decimal to BCD and BCD to Decimal
Digital Electronics Tags:BCD Addition, BCD Number, Binary Coded Decimal

Post navigation

Previous Post: How to Convert Binary to BCD and BCD to Binary
Next Post: Difference between $display, $monitor, $write and $strobe in Verilog

Comments (2) on “BCD Addition”

  1. r says:
    August 13, 2023 at 3:28 am

    0011+0011 ans plz…….

    Reply
  2. kajal says:
    August 27, 2023 at 7:43 am

    why we add only 6 in invalid numbers

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Top Posts & Pages

  • ASCII Code
  • Circuit Design of a 4-bit Binary Counter Using D Flip-flops
  • NAND and NOR gate using CMOS Technology
  • AND and OR gate using CMOS Technology
  • Difference between $display, $monitor, $write and $strobe in Verilog


 

Copyright © 2025 VLSIFacts.

Powered by PressBook WordPress theme

%d