Decimal Conversion of Number Bases
Decimal Conversion of Number Bases
The sign bit is 1 (negative). The exponent is 10000010, which is 130 decimal; subtracting the bias (127) gives 3. The mantissa is 1.111011 (binary), representing 1.921875. Thus, the value is -1.921875 × 2^3 = -15.375 .
In an 8-bit two's complement system, subtraction is performed by adding the two's complement of the subtrahend to the minuend. For 0001 11012 (2910) and 0001 01012 (2110), first find the two's complement of 0001 01012 which is 1110 1011. Then add it to 0001 1101: (0001 1101 + 1110 1011 = 0000 1000), resulting in 810 .
To convert 10101011 to hexadecimal, group the binary digits into sets of four from the right: 1010 and 1011. Convert each group to hexadecimal: 1010 is 'A' and 1011 is 'B'. Therefore, the hexadecimal representation is AB16 .
Subtraction in two's complement is done by adding the complement of the subtrahend. 0011 1101 (6110) minus 0001 0111 (2310) involves the complement of 0001 0111, which is 1110 1001. Add it to 0011 1101: (0011 1101 + 1110 1001 = 0010 0110), resulting in 3810 .
First, convert to binary and normalize: -6.03125 is negative, so sign=1; in binary, 6.03125 is 110.00001. As normalized, it's 1.1000001 × 2^2. The exponent (2) is stored with a +31 bias, thus: 33 or 100001 in binary. Mantissa: 1000001. Therefore, the representation is 1 100001 1000001000 .
First, convert 27.75 to binary: 11011.11. Normalizing gives 1.101111 × 2^4. The exponent is stored as 4 + 127 = 131, which is 10000011 in binary. The sign bit is 0 for positive. The mantissa is 10111100000000000000000 (23 bits, omitting the leading '1'). Thus, it's stored as: 0 10000011 10111100000000000000000 .
To convert 1510 into binary using an 8-bit register, we start by repeatedly dividing the number by 2 and recording the remainders. The binary equivalent of 1510 is 0000 1111. The 1's complement is obtained by flipping all bits, resulting in 1111 0000. For the 2's complement, we add 1 to the 1's complement, giving 1111 0001 .
The hexadecimal C2100000 is converted by expanding as powers of 16: C (12) × 16^7 + 2 × 16^6 + 1 × 16^5 + 0 × 16^4 and so on. Calculating gives: 3,257,433,600 in decimal .
Align binary numbers: 10111010 + 01111101 (pad with leading zeros for alignment). Add from right: 1 + 0 = 1, 0 + 1 = 1, 1 + 1 = 0 (carry 1), and so on. Final result is 1001101112 .
First, in binary, 12.75 is 1100.11. Normalizing, we get 1.10011 × 2^3. Since the exponent is 3, in 6-bit with a bias of +31, it's represented as 3 + 31 = 34, which is 100010. Since the number is positive, the sign bit is 0. Thus, the 16-bit representation is 0 100010 1001100000 .