answersLogoWhite

0


Best Answer

All possible 2-bit numbers ... 0, 1, 2, and 3 ... are the same in BCD and binary.

No conversion is required.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write an alp to convert a 2 bit number from BCD to binary?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Other Math

What is advantages and disadvantage of bcd?

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.


What are the 4 an invalid BCD code?

BCD code isn't valid for these integers , 10 , 11 , 12 , 13 , 14 i.e if these integers ae converted to binary code they 'd be called wrong BCD


What is the binary coded decimal of 234?

234 in BCD is 0010 0011 0100


What is the BCD equivalent for a decimal number 325?

Decimal: 3 2 5 Binary: 0011 0010 0101 so 325 = 0011 0010 0101


What is largest BCD encoded decimal value that can be represented in three bytes?

A BCD digit only uses the binary patterns that represent decimal numbers, ie 0000 - 1001; this requires 4 bits (1 nybble) so there can be 2 BCD digits to a byte. Therefore in 3 bytes there can be 3 × 2 = 6 BCD digits. The largest BCD digit is 1001 = 9. Assuming non-signed, the maximum 3 byte BCD number is 999,999.

Related questions

How do you convert binary number to bcd number on paper?

Example Binary 00111000 Convert to Decimal 56 Convert to BCD by using groups of four binary numbers for each digit 5 6 0101 0110


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


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


What is the difference between binary codes and bcd codes?

In BCD each digit of a decimal number is coded as a separate 4 bit binary number between 0 and 9.For example:Decimal 12 in BCD is shown as 0001 0010 (Binary 1 and Binary 2), in Binary it is 1100.


Show the number 47 in BCD and ACSII?

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


What is SAP give you the brief solution?

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


Why is BCD used in computers?

BCD is used for binary output on devices that only display decimal numbers.


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 is the main advantage of binary coded decimal?

Binary coded decimal (BCD) is easier to convert between displayed or printed form than is pure binary.


How to convert an excess -3 to bcd code converter?

the first time write the binary coded decimal as input write its truth tablle to nine and after nine put the all position dont care to number fifteen same is also for excess three write its truth table to 9 and from 9 to 15 dont care then simplifiy each output coloumn by K_MAp to find out th circiut


Why is BCD code called a weighted code?

A: A Binary code represent a binary number 0.1.2.4.8. etc. that is why it is called a weighted number


The 2's complement of the binary number 1101100 in BCD is?

I want answer bcd This in (a) 12 b() 13 (c)14 (d)15