Binary Number System: Representations | |
Sign-Magnitude Signed Binary Integer S = 1 for negative number, 0 for non-negativeThe remaining bits in position n represents 2n place. EXAMPLE What is the 32-bit sign-magnitude binary integer representation for the decimal integer -47?
1. S = 1, for negative number. 4710 = 10111123. Organize the bits, padding with zeroes between the sign and the magnitude: 1 0000000000000000000000000 101111 4. Convert to hex: 1000 0000 0000 0000 0000 0000 0010 1111 Next Page |