answersLogoWhite

0

Advantages
  • Many non-integral values, such as decimal 0.2, have an infinite place-value representation in binary (.001100110011...) but have a finite place-value in binary-coded decimal (0.0010). Consequently a system based on binary-coded decimal representations of decimal fractions avoids errors representing and calculating such values.
  • Scaling by a factor of 10 (or a power of 10) is simple; this is useful when a decimal scaling factor is needed to represent a non-integer quantity (e.g., in financial calculations)
  • Rounding at a decimal digit boundary is simpler. Addition and subtraction in decimal does not require rounding.
  • Alignment of two decimal numbers (for example 1.3 + 27.08) is a simple, exact, shift.
  • Conversion to a character form or for display (e.g., to a text-based format such as XML, or to drive signals for a seven-segment display) is a simple per-digit mapping, and can be done in linear (O(n)) time. Conversion from pure binary involves relatively complex logic that spans digits, and for large numbers no linear-time conversion algorithm is known (see Binary numeral system).
[edit]Disadvantages
  • Some operations are more complex to implement. Adders require extra logic to cause them to wrap and generate a carry early. 15-20 percent more circuitry is needed for BCD add compared to pure binary. Multiplication requires the use of algorithms that are somewhat more complex than shift-mask-add (a binary multiplication, requiring binary shifts and adds or the equivalent, per-digit or group of digits is required)
  • Standard BCD requires four bits per digit, roughly 20 percent more space than a binary encoding (the ratio of 4 bits to log210 bits is 1.204). When packed so that three digits are encoded in ten bits, the storage overhead is greatly reduced, at the expense of an encoding that is unaligned with the 8-bit byte boundaries common on existing hardware, resulting in slower implementations on these systems.
  • Practical existing implementations of BCD are typically slower than operations on binary representations, especially on embedded systems, due to limited processor support for native BCD operations.
User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are the advantages of bcd code?

advantages of bcd codes:-- it combine all basic numbers- it is easilly understand by human beings


What are the character codes in number system?

EBCIDIC (Extended BCD Interchange Code)Unicode


represent decimal number 862 a) BCD?

BCD of 862 is 100001100010


What is deference between BCD and decimal number?

BCD is a decimal number. BCD is one specific way to store decimal numbers in computer memory.


Write a program to convert a 2 digit BCD number into hexadecimal number?

Write a program to convert a 2-digit BCD number into hexadecimal


What is the highest number in BCD?

In Binary-Coded Decimal (BCD), each decimal digit is represented by its own four-bit binary equivalent. Since the highest decimal digit is 9, the highest number in BCD corresponds to the decimal number 9, which is represented in BCD as 1001. Thus, the highest BCD representation for a single digit is 1001. For multiple digits, the highest number would be 999, represented in BCD as 1001 1001 1001.


Show the number 47 in BCD and ACSII?

In BCD it is 00100111 In Binary, which is what you mean, it is 101111


How do you make BCD binary up down counter with a 4-bit adder and a register?

I wants to know the advantages of 4 Bit BCD/Binary UP/DOWN


What is the BCD representation of the decimal number 41 in 6-bit?

41 in decimal is 0100 0001 in BCD (this is 8 bits not 6 bits)41 in decimal is 101001 in binary (this is 6 bits, but binary not BCD)There is no 6 bit BCD representation of the decimal number 41!


What does a BCD invalid code detector do?

detects the invalid portion of the bcd number codes (1010-1111)


2 Write a program to convert a 2-digit BCD number into hexadecimal?

WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL


The bcd number 10110101 is equal to what?

181