0% found this document useful (0 votes)
11 views4 pages

Understanding BCD Code in Digital Electronics

The document discusses Binary-Coded Decimal (BCD), a method for representing decimal numbers in binary form, where each decimal digit is encoded using 4 bits. It highlights the characteristics of BCD, such as weighting, distance, continuity, and autocomplementarity, as well as its applications in electronic systems for simplified numerical data manipulation. An example of BCD encoding for the decimal number 59237 is also provided, illustrating the difference between BCD and pure binary representation.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

Understanding BCD Code in Digital Electronics

The document discusses Binary-Coded Decimal (BCD), a method for representing decimal numbers in binary form, where each decimal digit is encoded using 4 bits. It highlights the characteristics of BCD, such as weighting, distance, continuity, and autocomplementarity, as well as its applications in electronic systems for simplified numerical data manipulation. An example of BCD encoding for the decimal number 59237 is also provided, illustrating the difference between BCD and pure binary representation.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Faculty of Science and Technology

Work
Practical #1

Digital Electronics I

Teacher: Ing. José Gabriel Urrutia Zelada


Student: Erlan Ariel Duarte Manzano
Date: 04/10/2016

Management II-2016
BDC CODE

BCD Code (Binary-Coded Decimal (BCD) or Decimal coded). Binary is a


standard for representing decimal numbers in thebinary system, where
Each decimal digit is encoded with a sequence of 4 bits.
With this special coding of decimal digits in the binary system, it
they can perform arithmetic operations such assumsubtraction, multiplication and
division of numbers in decimal representation, without losing in the calculations the
accuracy nor having the inaccuracies that are normally incurred with the
conversions from decimal to pure binary and from pure binary to decimal.
The conversion of decimal numbers to BCD and vice versa is very simple, but
BCD calculations take more time and are somewhat more complicated than with
pure binary numbers.

FUNDAMENTALS
In BCD, each digit that represents a decimal digit (0, 1,...8 and 9) is represented
with its equivalentbinaryin four bits (nibble or quartet) (this is so because it is
the number of bits necessary to represent nine, the highest number that is
can be represented in BCD).

CHARACTERISTICS

Weighting
Most current numbering systems are weighted, that is,
each position in a sequence of digits has an associated weight. The system
Binary is, in fact, a weighted positional numbering system. Without
embargo, some binary codes, like Gray code, are not weighted, it is
to say, they do not have an associated weight for each position. Others, like the same code
natural binary or the natural BCD do exist.

Distance
It is a feature applicable only to binary combinations. The distance
between two combinations is the number of bits that change from one to the other.
for example, if you have the combinations of four bits 0010 and 0111,
corresponding to 2 and 7 in natural binary, it will be said that the distance between them
It is equal to two since two bits change from one to the other.
In addition, with the concept of distance, the minimum distance of a can be defined
code. This is nothing more than the shortest distance between two of the
combinations of that code.

Continuity
It is a characteristic of binary codes that fulfill all possible
code combinations are adjacent, meaning that from any combination
the code changes only one bit. In this case, it is said that the code is
I continue. When the last combination of the code is, in turn, adjacent to the
first, it is about a cyclic code.
Autocomplementarity
Binary code is self-complementary when the nine's complement of
the decimal equivalent of any combination of the code can be found
inverting the values of each of the bits (unary logical operation of
negation) and the result is still a valid combination in that code. This
characteristic is observed in some BCD codes, such as the Aiken code or the
Excess-3 BCD code. Self-complementary codes facilitate operations.
arithmetic.

APPLICATION

BCD is very common in systemselectronicswhere a value should be displayed


numeric, especially in unprogrammed digital systems (without
microprocessor or microcontroller.

Using BCD code, the manipulation of numerical data is simplified that


should be displayed, for example, on a seven-segment display. This
it also involves a simplification in the physical design of the circuit (hardware).
If the numerical amount were stored and manipulated in natural binary, the
the circuit would be much more complex than if BCD is used. There is a program that
It is called b1411, which serves to divide the binary system into two combinations.
One, for example, is that of digital systems.

REPRESENTATION

Each decimal digit has a binary representation encoded with 4 bits:

Decimal: 0 1 2 3 4 5 6 7 8 9

BCD: 0000 0001 0010 14 0101 0110 0111 1000 1001

Decimal numbers are encoded in BCD with bits that


they represent their digits.
BCD Code Table

Example
The BCD encoding of the decimal number 59237 is:
Decimal: 5 9 2 3 7
BCD: 0101 1001 0010 0011 0111
The previous representation (in BCD) is different from the representation of the same.
pure binary decimal number:
e

You might also like