D7 = 11010111
Chat with our AI personalities
1. represent every individual digit of given hexadecimal in binary form like this 4---------> 0100 8---------> 1000 7---------> 0111 2. combine the individual binary digits in order to get the binary of given hexadecimal number 487 ------------> 0100 1000 0111 ( required binary number )
To convert binary to hexadecimal split the binary number into blocks of 4 bits from the right hand end; each block represents a hexadecimal digit: 111101110001 → 1111 0111 0001 = 0xF71
Hexadecimal means 16. So that 4 binary bits are represented by a hexadecimal number. 0000 = 0 1000 = 8 0001 = 1 1001 = 9 0010 = 2 1010 = A 0011 = 3 1011 = B 0100 = 4 1100 = C 0101 = 5 1101 = D 0110 = 6 1110 = E 0111 = 7 1111 = F
7
4 * (-4) + 9 = -7; so -7 is equivalent to 4 times -4 plus 9.