SlideShare a Scribd company logo
1 of 10
Download to read offline
DECIMAL TO BCD
CONVERSION	
by	
Milap Bhanderi
Subject: Basic Electronics	
Institute: Silver Oak College of Engineering and Technology. 	
Copyright © 2017 by Milap Bhanderi
What is BCD?
v  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.	
v  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.	
Copyright © 2017 by Milap Bhanderi
Number	 Binary	
0	 0000	
1 	 0001	
2	 0010	
3	 0011	
4	 0100	
5	 0101	
6	 0110	
7	 0111	
8	 1000	
9	 1001	
Copyright © 2017 by Milap Bhanderi
•  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	
	 	 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	
	
Copyright © 2017 by Milap Bhanderi
What is DECIMAL?
v A number system that uses a notation in which
each number is expressed in base 10 by using
one of the first nine integers or 0 in
each place and leXing each place value be a
power of 10.	
Copyright © 2017 by Milap Bhanderi
Decimal	 Binary	 Octal	
Hexadecima
l	
1	 1	 1	 1	
2	 10	 2	 2	
3	 11	 3	 3	
4	 100	 4	 4	
5	 101	 5	 5	
6	 110	 6	 6	
7	 111	 7	 7	
8	 1000	 10	 8	
9	 1001	 11	 9	
10	 1010	 12	 A	
11	 1011	 13	 B	
12	 1100	 14	 C	
13	 1101	 15	 D	
14	 1110	 16	 E	
15	 1111	 17	 F	
16	 10000	 20	 10	
17	 10001	 21	 11	
Copyright © 2017 by Milap Bhanderi
DECIMAL TO BCD CONVERSION
q  Step 1 : Convert the binary
number to decimal.
q  Step 2 : Convert decimal number
to BCD.
Copyright © 2017 by Milap Bhanderi
Example : Convert (11101)2 to BCD.
Step 1 : Convert to Decimal Binary Number = (11101)2
	
Step	 Binary Number	 Decimal Number	
Step 1	 (11101)2	 ( (1 × 2
4
) + (1 × 2
3
) + (1 × 2
2
) + (0
× 2
1
) + (1 × 2
0
) )10	
Step 2	 (11101)2	 (16 + 8 + 4 + 0 + 1)10	
Step 3	 (11101)2	 (29)10	
Binary Number − 111012 = Decimal Number − (29)10
Copyright © 2017 by Milap Bhanderi
Step 2 : Convert to BCD Decimal Number = (29)10
Calculating BCD Equivalent. Convert each digit into groups of four binary
digits equivalent.
	
Step	
Decimal Number	 Conversion	
Step 1	 (29)10	 (0010)2 (1001)2	
Step 2	 (29)10	 (00101001)BCD	
(11101)2 = (00101001)BCD
Copyright © 2017 by Milap Bhanderi
Copyright © 2017 by Milap Bhanderi

More Related Content

What's hot (20)

Decoders
DecodersDecoders
Decoders
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
Counters
CountersCounters
Counters
 
3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
Adder ppt
Adder pptAdder ppt
Adder ppt
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Registers
RegistersRegisters
Registers
 
Ring Counter.pptx
Ring Counter.pptxRing Counter.pptx
Ring Counter.pptx
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
digital Counter
digital Counterdigital Counter
digital Counter
 
Encoders
EncodersEncoders
Encoders
 
Counters
CountersCounters
Counters
 
BCD ADDER
BCD ADDER BCD ADDER
BCD ADDER
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentation
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 

Similar to BCD to Decimal - Digital Electronics (20)

What is bcd number system
What is bcd number systemWhat is bcd number system
What is bcd number system
 
BCD to binary code converter
BCD to binary code converterBCD to binary code converter
BCD to binary code converter
 
Number system
Number systemNumber system
Number system
 
Chapter02.pdf
Chapter02.pdfChapter02.pdf
Chapter02.pdf
 
Number codes
Number codesNumber codes
Number codes
 
Number codes students
Number codes studentsNumber codes students
Number codes students
 
Digital Principles-Number systems
Digital Principles-Number systemsDigital Principles-Number systems
Digital Principles-Number systems
 
number system
number systemnumber system
number system
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdfW3 Chapter 2B Notes CCB1223 Digital Logic.pdf
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
 
Code conversion r006
Code conversion r006Code conversion r006
Code conversion r006
 
Number system
Number systemNumber system
Number system
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
01 intro
01 intro01 intro
01 intro
 
01 intro
01 intro01 intro
01 intro
 
Floyd_CH2.ppt
Floyd_CH2.pptFloyd_CH2.ppt
Floyd_CH2.ppt
 
ENGINEERING ELECTRONICS SEMESTER FIVE COMM
ENGINEERING ELECTRONICS SEMESTER FIVE COMMENGINEERING ELECTRONICS SEMESTER FIVE COMM
ENGINEERING ELECTRONICS SEMESTER FIVE COMM
 
uyuyuy.pdf
uyuyuy.pdfuyuyuy.pdf
uyuyuy.pdf
 
Digital Electronics Codes.pdf
Digital Electronics Codes.pdfDigital Electronics Codes.pdf
Digital Electronics Codes.pdf
 
5_2019_01_03!03_33_00_PM.pptx
5_2019_01_03!03_33_00_PM.pptx5_2019_01_03!03_33_00_PM.pptx
5_2019_01_03!03_33_00_PM.pptx
 

More from Milap Bhanderi

Detailed Research on Fake News: Opportunities, Challenges and Methods
Detailed Research on Fake News: Opportunities, Challenges and MethodsDetailed Research on Fake News: Opportunities, Challenges and Methods
Detailed Research on Fake News: Opportunities, Challenges and MethodsMilap Bhanderi
 
SDN and it’s Application in Wireless Mesh Network
SDN and it’s Application in Wireless Mesh NetworkSDN and it’s Application in Wireless Mesh Network
SDN and it’s Application in Wireless Mesh NetworkMilap Bhanderi
 
Email Marketing Course: HubSpot Academy [ALL YOU NEED]
Email Marketing Course: HubSpot Academy [ALL YOU NEED]Email Marketing Course: HubSpot Academy [ALL YOU NEED]
Email Marketing Course: HubSpot Academy [ALL YOU NEED]Milap Bhanderi
 
Rules for Block Diagram Reduction - Digital Electronics
Rules for Block Diagram Reduction - Digital ElectronicsRules for Block Diagram Reduction - Digital Electronics
Rules for Block Diagram Reduction - Digital ElectronicsMilap Bhanderi
 
JSF Request Processing Lifecycle
JSF Request Processing LifecycleJSF Request Processing Lifecycle
JSF Request Processing LifecycleMilap Bhanderi
 

More from Milap Bhanderi (8)

Detailed Research on Fake News: Opportunities, Challenges and Methods
Detailed Research on Fake News: Opportunities, Challenges and MethodsDetailed Research on Fake News: Opportunities, Challenges and Methods
Detailed Research on Fake News: Opportunities, Challenges and Methods
 
SDN and it’s Application in Wireless Mesh Network
SDN and it’s Application in Wireless Mesh NetworkSDN and it’s Application in Wireless Mesh Network
SDN and it’s Application in Wireless Mesh Network
 
Email Marketing Course: HubSpot Academy [ALL YOU NEED]
Email Marketing Course: HubSpot Academy [ALL YOU NEED]Email Marketing Course: HubSpot Academy [ALL YOU NEED]
Email Marketing Course: HubSpot Academy [ALL YOU NEED]
 
Relational Algebra
Relational AlgebraRelational Algebra
Relational Algebra
 
Rules for Block Diagram Reduction - Digital Electronics
Rules for Block Diagram Reduction - Digital ElectronicsRules for Block Diagram Reduction - Digital Electronics
Rules for Block Diagram Reduction - Digital Electronics
 
JSF Request Processing Lifecycle
JSF Request Processing LifecycleJSF Request Processing Lifecycle
JSF Request Processing Lifecycle
 
Operators in c
Operators in cOperators in c
Operators in c
 
ACOUSTIC - Physics
ACOUSTIC - Physics  ACOUSTIC - Physics
ACOUSTIC - Physics
 

Recently uploaded

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 

BCD to Decimal - Digital Electronics

  • 1. DECIMAL TO BCD CONVERSION by Milap Bhanderi Subject: Basic Electronics Institute: Silver Oak College of Engineering and Technology. Copyright © 2017 by Milap Bhanderi
  • 2. What is BCD? v  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. v  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. Copyright © 2017 by Milap Bhanderi
  • 3. Number Binary 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 Copyright © 2017 by Milap Bhanderi
  • 4. •  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 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 Copyright © 2017 by Milap Bhanderi
  • 5. What is DECIMAL? v A number system that uses a notation in which each number is expressed in base 10 by using one of the first nine integers or 0 in each place and leXing each place value be a power of 10. Copyright © 2017 by Milap Bhanderi
  • 6. Decimal Binary Octal Hexadecima l 1 1 1 1 2 10 2 2 3 11 3 3 4 100 4 4 5 101 5 5 6 110 6 6 7 111 7 7 8 1000 10 8 9 1001 11 9 10 1010 12 A 11 1011 13 B 12 1100 14 C 13 1101 15 D 14 1110 16 E 15 1111 17 F 16 10000 20 10 17 10001 21 11 Copyright © 2017 by Milap Bhanderi
  • 7. DECIMAL TO BCD CONVERSION q  Step 1 : Convert the binary number to decimal. q  Step 2 : Convert decimal number to BCD. Copyright © 2017 by Milap Bhanderi
  • 8. Example : Convert (11101)2 to BCD. Step 1 : Convert to Decimal Binary Number = (11101)2 Step Binary Number Decimal Number Step 1 (11101)2 ( (1 × 2 4 ) + (1 × 2 3 ) + (1 × 2 2 ) + (0 × 2 1 ) + (1 × 2 0 ) )10 Step 2 (11101)2 (16 + 8 + 4 + 0 + 1)10 Step 3 (11101)2 (29)10 Binary Number − 111012 = Decimal Number − (29)10 Copyright © 2017 by Milap Bhanderi
  • 9. Step 2 : Convert to BCD Decimal Number = (29)10 Calculating BCD Equivalent. Convert each digit into groups of four binary digits equivalent. Step Decimal Number Conversion Step 1 (29)10 (0010)2 (1001)2 Step 2 (29)10 (00101001)BCD (11101)2 = (00101001)BCD Copyright © 2017 by Milap Bhanderi
  • 10. Copyright © 2017 by Milap Bhanderi