SlideShare a Scribd company logo
By
Ammar Yasir 1421
Muhammad Riaz 1426
Chaman Ali 1442
Introduction
 The availability of large variety of codes for the same
discrete elements of information results in the use of
different codes by the different systems.
 A conversion circuit must be inserted between the two
systems if each use different codes for the same information.
 Thus a code converter is a circuit that makes the two systems
compatible even though both uses different binary
information.
 Code converters, more specifically encoders and decoders,
have been used to protect private information.
 Indeed, code converters have proven to be so effective that
the National Security Agency (NSA) has made a career out
of creating and breaking codes.
 To convert from binary to excess 3 code the input lines must
supply the bit combination of elements as specified by the
code.
Binary Coded Decimal
 The term BCD refers to representing the ten decimal digits in
binary forms; which simply means to count in binary.
 In computing and electronic systems, binary coded decimal
is a class of binary encodings of decimal numbers where
each decimal digit is represented by a fixed number of bits ,
usually four or eight, although other sizes (such as six bits)
have been used historically. Special bit patterns are
sometimes used for a sign or for other indications (e.g., error
or overflow).
 BCD takes advantage of the fact that any one decimal numeral
can be represented by a four bit pattern. This is also called
"8421" encoding.
Decimal
Digit
BCD
8 4 2 1
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
Excess 3
 It is a non weighted code.
 In XS-3, numbers are represented as decimal digits, and each
digit is represented by four bits as the digit value plus 3 (the
"excess" amount).
 The primary advantage of XS-3 coding over non-biased
coding is that a decimal number can be nines' complemented
as easily as a binary number can be ones' complemented . In
addition, when the sum of two XS-3 digits is greater than 9,
the carry bit of a four bit adder will be set high.
 The Excess-3 BCD system is formed by adding 0011 to each
BCD value as in Table 2. For example, the decimal number 7,
which is coded as 0111 in BCD, is coded as 0111+0011=1010
in Excess-3 BCD.
Decimal Numerals Excess-3
0 0011
1 0100
2 0101
3 0110
4 0111
5 1000
6 1001
7 1010
8 1011
9 1100
THE BCD TO EXCESS 3 CODE CONVERTER
 BCD Excess-3 circuit will convert numbers from their binary
representation to their excess-3 representation. Hence our
truth table is as below:
B3 B2 B1 B0 E3 E2 E1 E0
0 0 0 0 0 0 1 1
0 0 0 1 0 1 0 0
0 0 1 0 0 1 0 1
0 0 1 1 0 1 1 0
0 1 0 0 0 1 1 1
0 1 0 1 1 0 0 0
0 1 1 0 1 0 0 1
0 1 1 1 1 0 1 0
1 0 0 0 1 0 1 1
1 0 0 1 1 1 0 0
K maps
 Our task now is to use the truth table to find four switching
expressions: one for E3, one for E2, one for E1, and one for
E0. We have two choices: we can use Boolean algebraic
manipulations, or we can use Karnaugh maps.
 We use k maps for simplicity. Here don’t cares are available
because in the truth table in Table 3, no BCD valuations exist
for E3E2E1E0 = 1010,1011,1100,1101,1110,1111. As such,
we evaluate B3B2B1B0= xxxx (either 0 or 1).
E3=B3+B2(B1+B0)
E2=B2^(B1+B0)
E1=(B1^B0)’
E0=B0’
Block diagram
Applications
 Excess-3 was used on some older computers
 Cash registers
 Hand held portable electronic calculators

More Related Content

PPTX
BCD to binary code converter
PPT
BCD,GRAY and EXCESS 3 codes
PDF
Binary codes
PPTX
PPTX
The BCD to excess-3 converter
PPT
Binary codes
PPTX
Weighted and Non Weighted Codes
PPTX
Excess 3 to bcd converter
BCD to binary code converter
BCD,GRAY and EXCESS 3 codes
Binary codes
The BCD to excess-3 converter
Binary codes
Weighted and Non Weighted Codes
Excess 3 to bcd converter

What's hot (20)

PDF
What is bcd number system
PDF
Data representation
PPT
Lecture 01
PDF
Binary to gray converter using xor
PPTX
Binary to grey code conversion
PDF
Chapter 04 computer codes
PPTX
Code conversion
PDF
BCD to Decimal - Digital Electronics
PPTX
PPTX
Chap ii.BCD code,Gray code
PDF
Lecture 5 binary_codes
PPTX
. computer codes
PPT
Binary code
PPTX
BCD arithmetic and 16-bit data operations
PPT
Dr.naveen electronics binary codes
PDF
Csc 2313 (lecture 3)
PPTX
Number system
PPTX
BCD Adder
PPTX
Data representation
PPTX
Data representation in computers
What is bcd number system
Data representation
Lecture 01
Binary to gray converter using xor
Binary to grey code conversion
Chapter 04 computer codes
Code conversion
BCD to Decimal - Digital Electronics
Chap ii.BCD code,Gray code
Lecture 5 binary_codes
. computer codes
Binary code
BCD arithmetic and 16-bit data operations
Dr.naveen electronics binary codes
Csc 2313 (lecture 3)
Number system
BCD Adder
Data representation
Data representation in computers
Ad

Similar to Bcd with access 3 (20)

PPTX
Bcd to excess 3 code converter
PPTX
Combinational Circuits digital design logic
PPTX
Module_3_Codes and Arithmetic operation.pptx
PDF
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
PDF
Codes: Binary Codes Weighted codes Binary Coded Decimal (BCD) Non-weighted ...
PPT
Code conversion r006
PPTX
PPT - 2.pptx
PPTX
BCDCONVERTER.pptx
PPTX
Codes r005
PPT
Combinational Logic Design for engineering and many more departments.ppt
PPTX
analog ppt on diffderent types of codes.pptx
PPTX
Code conversions binary to Gray vice versa.pptx
PPTX
Code conversions.pptx415.pptx
PDF
Computer Logical Organization(It refers to how its functional units are arran...
PDF
Logic Gates(Logic gates are fundamental building blocks of digital circuits).pdf
PPTX
Coding Schemes related dld lecture it is dld
PDF
Lecture5 Chapter1- Binary Codes.pdf
Bcd to excess 3 code converter
Combinational Circuits digital design logic
Module_3_Codes and Arithmetic operation.pptx
FYBSC IT Digital Electronics Unit III Chapter I Combinational Logic Circuits
Codes: Binary Codes Weighted codes Binary Coded Decimal (BCD) Non-weighted ...
Code conversion r006
PPT - 2.pptx
BCDCONVERTER.pptx
Codes r005
Combinational Logic Design for engineering and many more departments.ppt
analog ppt on diffderent types of codes.pptx
Code conversions binary to Gray vice versa.pptx
Code conversions.pptx415.pptx
Computer Logical Organization(It refers to how its functional units are arran...
Logic Gates(Logic gates are fundamental building blocks of digital circuits).pdf
Coding Schemes related dld lecture it is dld
Lecture5 Chapter1- Binary Codes.pdf
Ad

Recently uploaded (20)

PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Classroom Observation Tools for Teachers
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Institutional Correction lecture only . . .
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Cell Structure & Organelles in detailed.
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Microbial diseases, their pathogenesis and prophylaxis
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Classroom Observation Tools for Teachers
GDM (1) (1).pptx small presentation for students
Institutional Correction lecture only . . .
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
O7-L3 Supply Chain Operations - ICLT Program
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Sports Quiz easy sports quiz sports quiz
Anesthesia in Laparoscopic Surgery in India
VCE English Exam - Section C Student Revision Booklet
Cell Structure & Organelles in detailed.
2.FourierTransform-ShortQuestionswithAnswers.pdf
Cell Types and Its function , kingdom of life
Module 4: Burden of Disease Tutorial Slides S2 2025
Complications of Minimal Access Surgery at WLH
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Renaissance Architecture: A Journey from Faith to Humanism
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Microbial diseases, their pathogenesis and prophylaxis

Bcd with access 3

  • 1. By Ammar Yasir 1421 Muhammad Riaz 1426 Chaman Ali 1442
  • 2. Introduction  The availability of large variety of codes for the same discrete elements of information results in the use of different codes by the different systems.  A conversion circuit must be inserted between the two systems if each use different codes for the same information.  Thus a code converter is a circuit that makes the two systems compatible even though both uses different binary information.
  • 3.  Code converters, more specifically encoders and decoders, have been used to protect private information.  Indeed, code converters have proven to be so effective that the National Security Agency (NSA) has made a career out of creating and breaking codes.  To convert from binary to excess 3 code the input lines must supply the bit combination of elements as specified by the code.
  • 4. Binary Coded Decimal  The term BCD refers to representing the ten decimal digits in binary forms; which simply means to count in binary.  In computing and electronic systems, binary coded decimal is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of bits , usually four or eight, although other sizes (such as six bits) have been used historically. Special bit patterns are sometimes used for a sign or for other indications (e.g., error or overflow).
  • 5.  BCD takes advantage of the fact that any one decimal numeral can be represented by a four bit pattern. This is also called "8421" encoding. Decimal Digit BCD 8 4 2 1 0 0 0 0 0 1 0 0 0 1 2 0 0 1 0 3 0 0 1 1 4 0 1 0 0 5 0 1 0 1 6 0 1 1 0 7 0 1 1 1 8 1 0 0 0 9 1 0 0 1
  • 6. Excess 3  It is a non weighted code.  In XS-3, numbers are represented as decimal digits, and each digit is represented by four bits as the digit value plus 3 (the "excess" amount).  The primary advantage of XS-3 coding over non-biased coding is that a decimal number can be nines' complemented as easily as a binary number can be ones' complemented . In addition, when the sum of two XS-3 digits is greater than 9, the carry bit of a four bit adder will be set high.
  • 7.  The Excess-3 BCD system is formed by adding 0011 to each BCD value as in Table 2. For example, the decimal number 7, which is coded as 0111 in BCD, is coded as 0111+0011=1010 in Excess-3 BCD. Decimal Numerals Excess-3 0 0011 1 0100 2 0101 3 0110 4 0111 5 1000 6 1001 7 1010 8 1011 9 1100
  • 8. THE BCD TO EXCESS 3 CODE CONVERTER  BCD Excess-3 circuit will convert numbers from their binary representation to their excess-3 representation. Hence our truth table is as below: B3 B2 B1 B0 E3 E2 E1 E0 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 0 0 1 1 1 0 1 0 1 1 0 0 0 0 1 1 0 1 0 0 1 0 1 1 1 1 0 1 0 1 0 0 0 1 0 1 1 1 0 0 1 1 1 0 0
  • 9. K maps  Our task now is to use the truth table to find four switching expressions: one for E3, one for E2, one for E1, and one for E0. We have two choices: we can use Boolean algebraic manipulations, or we can use Karnaugh maps.  We use k maps for simplicity. Here don’t cares are available because in the truth table in Table 3, no BCD valuations exist for E3E2E1E0 = 1010,1011,1100,1101,1110,1111. As such, we evaluate B3B2B1B0= xxxx (either 0 or 1).
  • 15. Applications  Excess-3 was used on some older computers  Cash registers  Hand held portable electronic calculators