Explore BrainMass
Share

Explore BrainMass

    Signed number representations

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Using a "word" of 15 bits, list all of the possible signed binary numbers and their decimal equivalents in following representations.

    a. Signed magnitude
    b. One's complement
    c. Two's complement

    © BrainMass Inc. brainmass.com October 10, 2019, 12:59 am ad1c9bdddf
    https://brainmass.com/computer-science/operating-systems/signed-number-representations-316266

    Solution Preview

    Since list of numbers is practically very huge to enumerate every number here, hence the range of numbers is given in the answers below. Numbers with suffix B denote binary values, and numbers without any suffix denote decimal values.

    a. In signed magnitude representation, MSB (most significant bit) is used for indicating sign (0: positive, 1:negative) and remaining bits are used to represent the magnitude of the number.

    The range of magnitude that can be represented with 14 bits is 0 to (2^14 - 1) i.e 0 to 16383.

    Hence the signed numbers representable in ...

    Solution Summary

    Since list of numbers is practically very huge to enumerate every number, hence the range of numbers is given in the answers. It also has brief explanation on how values are represented in each of the mentioned representations. Signed magnitudes, one's complement and two's complement is examined.

    $2.19