The Sign-Magnetude Method is quite easy to understand. In fact, it is simply an ordinary binary number with one extra digit placed in front to represent the sign. If this extra digit is a '1', it means that the rest of the digits represent a negative number. However if the same set of digits are used but the extra digit is a '0', it means that the number is a positive one. The following examples explain the Sign-Magnitude method better.
Let us assume that we have an 8-bit
register. This means that we have 7 bits which represent a number and the
other bit to represent the sign of the number (the Sign
Bit).
This is how
numbers are represented:
The red digit means that the number is
positive. The rest of the digits represent 37. Thus,
the above number in sign-magnitude
representation, means +37.
And this is how -37 is represented:

|
|
|
(1)
11011101
(2) +127
(01111111)
(3) -127
(11111111)
(4) from +32767 to
-32767
Return back to Activities