Part 2: Signed values: Convert each as indicated.
10. Hexadecimal to decimal (signed magnitude)
a. 88
b. EC
Hexadecimal Binary 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 a. 88 88 in binary is 10001000 left most bit is 1. so, it's a negative value. convert rest of the bits to decimal. 0001000 => in decimal it is 8 Answer: -8 b. EC EC in binary is 11101100 left most bit is 1. so, it's a negative value. convert rest of the bits to decimal. 1101100 => 1x2^7 + 1x2^6 + 0x2^5 + 1x2^4 + 0x2^3 + 1x2^2 + 0x2^1 + 1x2^0 => 1x128 + 1x64 + 0x32 + 1x16 + 0x8 + 1x4 + 0x2 + 1x1 => 128 + 64 + 0 + 16 + 0 + 4 + 0 + 1 => 213 Answer: -213
Get Answers For Free
Most questions answered within 1 hours.