What is bcd number system

3,411 views 6 slides Jun 29, 2019
Slide 1
Slide 1 of 6
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6

About This Presentation

Binary coded decimal (BCD) is a system of writing numerals that assigns a four-digit binary code to each digit 0 through 9 in a decimal (base-10) numeral.  The four-bit BCD code for any particular single base-10 digit is its representation in binary notation


Slide Content

What is BCD?

What is BCD
Binary coded decimal (BCD) is a system of writing
numerals that assigns a four-digit binary code to
each digit 0 through 9 in a decimal (base-10)
numeral.
The four-bit BCD code for any particular single base-
10 digit is its representation in binary notation, as
follows:
0 = 0000.
1 = 0001.
2 = 0010.

Numbers larger than 9, having two or more digits in
the decimal system, are expressed digit by digit in
binary coded decimal
. For example, the BCD
rendition of the base-10 number 1895 is 0001 1000
1001 0101. The binary equivalents of 1, 8, 9, and 5,
always in a four- digit format, go from left to
right. The BCD representation of a number is not
the same, in general, as its simple binary representation. In binary form, for example, the decimal quantity 1895 appears as 11101100111.

Binary to Decimal to BCD Conversion
Example
Binary Coded Decimal which is also called as BCD is another
process for converting decimal numbers into their binary
equivalents.
BCD Conversion Steps:
•Step 1 : Convert the binary number to decimal.
•Step 2 : Convert decimal number to BCD.
•Example: Convert (11101)2 to BCD

Step 1 : Convert to Decimal from Binary Number
•(11101)2 = (1×2
4
)+ (1×2
3
)+(1×2
2
)+(0×2
1
)+(1×2
0
)=(1×16)+
(1×8) +(1×4)+ (0×2)+(1×1)= 16 + 8 + 4 + 0 + 1 = (29)10

Step 2 : Convert to BCD from Decimal Number =
(29)10 Calculating BCD Equivalent. Convert each
digit into groups of four binary digits equivalent.
Decimal Number Conversion
(29)10 = (0010)2 (1001)2
(29)10 = (00101001) BCD
Therefore 0010 1001 is the BCD code for
decimal 29.

BCD numbering system
BCD numbering system is very easy to understand, while
creating BCD each decimal number is separated into
equivalent four bits for each decimal digit within the number. In the final result each decimal digit is replaced by its weighted binary value performing a direct
translation of the number. Every 4- bit group represents
each displayed decimal digit from 0000 for a zero
to 1001 for a nine.
For example:
357
10 (Three Hundred and Fifty Seven) in decimal would
be presented in Binary Coded Decimal as:
357
10 = 0011 0101 0111 (resulted BCD)