Computer Programming
Math and Arithmetic

# BCD to decimal decoder?

001 ###### 2014-01-17 09:02:15

operation of bcd- decimal decoder

🎃
0
🤨
0
😮
0
😂
0

## Related Questions A: A BCD code must be decoded to provide a seven digit output to the 7 bars display that is the only way to see the binary number visually.  we converter BCD to EXCeSS-3 is first rule 2 4 2 1 and other third number of BCD add other BCd as 0 to 15 Type your answer here...   BCD is a decimal number. BCD is one specific way to store decimal numbers in computer memory. The 7448 integrated circuit is a BCD to 7-segment display decoder. In other words a BCD, or binary coded decimal (such as 0101), is sent to the IC via 4 input ports. The IC then translates this into another value, which is then sent to a 7-segment number display which then displays the decimal value of the BCD. If you sent the BCD 1001 to the IC, it would then send out a signal to the 7-segment display which would then show the number 9, which is the decimal value of 1001. 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! an algorithm that converts a decimal number to Binary Coded Decimal (BCD) representation. A 4 BCD code is a 4 decimal-digit BCD code, thus a 16 digit binary-code. You take the decimal number 3545. It's BCD code is 0011 0101 0100 0101 where every 4 bits represent a decimal digit. The decimal number 10, represented in BCD is 0001 0000. If, instead, you mean that you have 10 in BCD and want to know what that means, that is equivalent to 0000 0010 and would be 2 in decimal. BCD is used for binary output on devices that only display decimal numbers. In computing terms, BCD means binary-coded decimal. It is a class of a binary encodings of decimal numbers. Each decimal number is resresented by a fixed number of bits.  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)[bcd]. Consequently a system based on binary-coded decimal representations of decimal fractions avoids errors representing and calculating such values. Rounding at a decimal digit boundary is simpler in BCD. Addition and subtraction in decimal does not require rounding. Decimal 30 = binary 11110. The decimal binary code (BCD), however, is 11 0000. 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. An encoder is a digital circuit which accepts one of the inputs and converts it into BCD or Binary Coded Output. It performs the reverse function of that of a decoder.  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 &times; 2 = 6 BCD digits. The largest BCD digit is 1001 = 9. Assuming non-signed, the maximum 3 byte BCD number is 999,999. 1111 can't be used for Binary Coded Decimal (BCD) because 1111=15 which is made of 2 digits 1 and 5. In BCD a 4-digit binary number is used for every decimal digit. ex. 1111 is incorrect 1 = 0001 5 = 0101 Answer: 0001 0101 i dont know 1001+1001 - Constructing a BCD-to-excess-3-code converter with a 4-bitt adder we know that the excess-3 code digit is obtained by adding three to the corresponding BCD digit. To change the circuit to an excess-3-to-BCD-code converter we feed BCD-code to the 4-bit adder as the first operand. Then feed constant 3 as the second operand. The output is the corresponding excess-3 code. To make it a BCD to excess-3 converter, we feed the 2's complement of 3 as the second operand. - Constructing a BCD-to-excess-3-code converter with a 4-bitt adder we know that the excess-3 code digit is obtained by adding three to the corresponding BCD digit. To change the circuit to an excess-3-to-BCD-code converter we feed BCD-code to the 4-bit adder as the first operand. Then feed constant 3 as the second operand. The output is the corresponding excess-3 code. To make it a BCD to excess-3 converter, we feed the 2's complement of 3 as the second operand. Binary Coded Decimaland that's related to the (or "a") way of storing numbers in a computer. BCD is often used when you need to avoid the small rounding errors that occur when converting from decimal to binary, and back again. This is especially important when working with amounts of money. BCD uses binary digits as if they were decimal digits. There are two BCD numbers per one 8-bit byte. For example, 23 decimal would be coded as 0010 0011, while in binary (not BDC), it would be 0001 0111. Similarly, 255 in BCD is 0000 0010 0101 0101, while in binary, it would b simply 1111 1111. As you can see, BCD is not as compact as binary, but it does have mathematical and software properties that makes it desirable (some games use BDC to store a "score", for example, because it takes fewer CPU cycles to display a BCD than a binary number).

###### Electronics EngineeringMath and ArithmeticElectronicsNumbers C ProgrammingComputer TerminologyComputersTechnologyComputer ProgrammingMicroprocessorsSupernatural and the OccultPhysicsSoftware and Applications (non-game) Copyright © 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.