Professional Documents
Culture Documents
BCD
(BINARY CODED DECIMAL)
What is BCD?
◦ Binary Coded Decimal Binary coded decimal 0 = 0000
(BCD) is a system of writing numbers that 1 = 0001
assigns a four-digit binary code to each digit 0 2 = 0010
through 9 in a decimal (base-10) numeral. The 3 = 0011
four-bit BCD code for any particular single 4 = 0100
base-10 digit is its representation in binary 5 = 0101
notation, as follows:
6 = 0110
7 = 0111
8 = 1000
9 = 1001
◦ Numbers larger than 9, having two or more digits in the decimal system, are expressed digit by
digit. For example, the BCD rendition of the base-10 number 1895 is:
1 8 9 5
•You may have noticed that in this two groups 0000 is added, because result of first adder do not
contain any carry. Thus the results of the adder 2 is the final result of BCD Subtraction.
◦ Therefore,
We know that 541 − 216 = 325, Thus we can say that our result of BCD Subtraction is correct.