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
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 ...
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.