WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL
ABCD1 = 10101011110011010001
C65A = 143132
224 = E0
10011110 base 2 = 9E base 16
To convert the decimal number 97 to hexadecimal, you divide 97 by 16, which equals 6 with a remainder of 1. The remainder 1 represents the least significant digit in hexadecimal, which is 1. The quotient 6 is divided by 16, resulting in 0 with a remainder of 6, representing the most significant digit in hexadecimal. Therefore, 97 in decimal is equivalent to 61 in hexadecimal.
Write a program to convert a 2-digit BCD number into hexadecimal
pongada punda vayanungala ..................
This is not a question.
Write a program to convert a 2-digit BCD number into hexadecimal
Convert each group of 4 bits into one hexadecimal digit. 1010 is "A" in hexadecimal, so this particular number is "AA".
C65A = 143132
ABCD1 = 10101011110011010001
224 = E0
56704534
NA
01
1D.12516