1001 0101
m
It is simplest to convert each hexadecimal digit into its 4-digit binary equivalent. So: 5 = 0101 A = 1010 3 = 0011 4 = 0100 F = 1111 6 = 0101 So, the binary equivalent is 10110100011010011110101.
5
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
What is the product of the binary numbers 0101 and 0101?
11001
1001 0101
1110 0101 1101 1011 is E5DB
m
It is simplest to convert each hexadecimal digit into its 4-digit binary equivalent. So: 5 = 0101 A = 1010 3 = 0011 4 = 0100 F = 1111 6 = 0101 So, the binary equivalent is 10110100011010011110101.
5
Decimal: 3 2 5 Binary: 0011 0010 0101 so 325 = 0011 0010 0101
0101 0011 (2) = 53 (16) which in BCD means 53
The way I convert between decimal and hexadecimal is to first convert the decimal number to binary: 664062510 = 110010101010011111100012 Then split the binary number into 16-bit (4 digit) chunks: 0110 0101 0101 0011 1111 00012 Next, convert each chunk into a hexadecimal digit: 0110 0101 0101 0011 1111 00012 6 5 5 3 F 1 Finally, put all the digits together: 664062510 = 6553F116
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 each hexadecimal digit straight into binary: 5 = 0101 4 = 0100 2 = 0010 So 0x542 = 0101 0100 0010 = 10101000010 (without the spaces). Hex digit to binary conversion: 0 = 0000, 1 = 0001, 2 = 0010, 3 = 0011 4 = 0100, 5 = 0101, 6 = 0110, 7 = 0111 8 = 1000, 9 = 1001, a = 1010, b = 1011 c = 1100, d = 1101, e = 1110, f = 1111