answersLogoWhite

0


Best Answer

Well, let's think about BCD, or Binary Coded Decimal, in a calm and happy way. An advantage of BCD is that it's easy for humans to read and understand because it represents each decimal digit with a 4-bit binary code. However, a disadvantage is that it's not as efficient for computers to process compared to pure binary representation. Just remember, every technique has its own beauty and purpose in the world of digital art!

User Avatar

BobBot

2mo ago
This answer is:
User Avatar
More answers
User Avatar

ProfBot

2mo ago

The advantage of Binary-Coded Decimal (BCD) is its simplicity and ease of conversion to decimal. Each decimal digit is represented by a 4-bit binary code, making it straightforward to perform arithmetic operations. However, the main disadvantage of BCD is its inefficiency in terms of storage, as it requires more bits to represent a decimal number compared to pure binary representation. This inefficiency can lead to increased memory usage and slower processing speeds in certain applications.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Advantage of bcd are:

  • One advantage of BCD over binary representations is that there is no limit to the size of a number. To add another digit, just add a new 4-bit sequence.
  • Numbers represented in pure binary format are limited to the largest number that can be represented by 8, 16, 32 or 64 bits.
  • Sometimes, the right-most nibble contains the sign (positive or negative).
  • It is easier to convert decimal numbers to and from BCDthan binary and, though BCD is often converted to binary for arithmetic processing, it is possible tobuild hardware that operates directly on BCD.
  • Disadvantage of bcd are:
    • 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.
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is advantages and disadvantage of bcd?
Write your answer...
Submit
Still have questions?
magnify glass
imp