Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please include only the digits of the appropriate number system. In particular,

ID: 3883260 • Letter: P

Question

please include only the digits of the appropriate number system. In particular, do not precede your answers with ‘0x’ or ‘0b’ or follow your answers with base indicators, like subscript 2 or 10.

What is the minimum 2's complement (or largest negative) integer that can be stored in a memory location that stores 24 bits of data? (Give your answer in decimal.) Convert the numeral 0x4C3C2B directly to binary. In a memory location that stores 16 bit data, what is the binary representation for the decimal number 125010 in a 2's complement 16-bit binary encoding? 5. 6. 7. 8. Convert-32510 into the 2's complement 16-bit binary representation.

Explanation / Answer

If you have any problem with the answer just qrite in comments and if you like the answer give a thumbs up

5.In Binary: 100000000000 000000000000

In Decimal: -8388608(Obtained by converting 100000000000 000000000000 to decimal)

- two compliment = (Not (100000000000 000000000000) + 1) = -(011111111111111111111111 + 1) = -8388608

6.to convert haxadecimal to binary we simply convert each hexadecimal digit to 4-bit binary translation

For 0X4C3C2B,( here 0x is prefix for hexadecimal)

converting haxadecimal digit to binary

- 4 = 0100

- c = 1100

- 3 = 0011

- 2 = 0010

- b = 1011

Hence the result will be 010011000011110000101011.

7. First we convert 1250 (decimal) to binary = 0000010011100010

Then changing all of the ones to zeroes and all of the zeroes to ones (also called 1's complement), and then adding 1.

= 1111101100011101 + 1 = 0000010011100010.

8. Similarly we will do for - 325, only difference would be theat thr leftmost digit will be 1 denoting that the number is negative.

-325 in Binary = 1000000101000101.

Now we flips the 1s and zeroes and adding 1, we get (0111111010111010 + 1) = 1111111010111011

The 2s complement of - 325(decomal) is 1111111010111011