answersLogoWhite

0

check this link for the code:

http://www.dnatechindia.com/index.php/Code-Library/8051_ASSEMBLY/12-bit-HEX-to-BCD-Convertor.html

http://www.dnatechindia.com/index.php/Code-Library/8051_ASSEMBLY/8-bit-HEX-to-BCD-convertor.html
A: The conversion is simple really a group of FOUR bits are usually the best method to simplify a BCD of four bits in hexadecimal. Example 1111 is just written F If it was written in octal the bits will be 3 as 111 or 7. As BCD becomes longer and longer these two methods were used to simplify the code a128 bits in BCD will be 8 zeros and ones or simply FF in octal notation it becomes 277

User Avatar

Wiki User

7y ago

What else can I help you with?

Continue Learning about Math & Arithmetic

Convert 01011101101 to bcd?

12


What is role of 6 in bcd addition?

In Binary-Coded Decimal (BCD) addition, the digit 6 plays a crucial role as a threshold for determining whether a correction is needed after standard binary addition. BCD represents decimal digits using four bits, and if the sum of two BCD digits exceeds 9 (which is 1001 in binary), a correction of 6 (0110 in binary) is added to bring the result back into valid BCD range. This adjustment ensures that the resulting sum correctly represents decimal values. Thus, 6 is effectively used to convert invalid BCD results back into valid representations.


What is the bcd form of 438 in odd parity?

To convert the decimal number 438 into Binary-Coded Decimal (BCD) form, we first represent each digit separately in binary. The digits of 438 are 4, 3, and 8, which in BCD are 0100, 0011, and 1000, respectively. To achieve odd parity, we need to ensure the total number of 1s in each BCD representation is odd. Therefore, we add an additional 1 to the BCD of 4 (making it 0101) and leave the BCDs of 3 (0011) and 8 (1000) unchanged, resulting in the odd parity BCD representation of 438 as 0101 0011 1000.


What is the advantage of encoding a decimal number in BCD as compared with straight binary?

The advantage of encoding a decimal number in Binary-Coded Decimal (BCD) compared to straight binary is that BCD allows for easier human readability and manipulation of decimal numbers. Each decimal digit is represented by its own binary sequence, making it straightforward to convert between decimal and BCD without complex calculations. This is particularly useful in applications such as digital displays and calculators, where decimal output is required. Additionally, BCD can simplify certain arithmetic operations involving decimal numbers.


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.