BINARY

SIGNED MAGNITUDE

VALUE

1s COMPLEMENT

VALUE

2s COMPLEMENT

VALUE

OFFSET BINARY VALUE (LOW=-8)

BASE NEGATIVE TWO VALUE

0000

0

0

0

-8

0

0001

1

1

1

-7

1

0010

2

2

2

-6

-2

0011

3

3

3

-5

-1

0100

4

4

4

-4

4

0101

5

5

5

-3

5

0110

6

6

6

-2

2

0111

7

7

7

-1

3

1000

-0

-7

-8 weird

0

-8

1001

-1

-6

-7

1

-7

1010

-2

-5

-6

2

-10

1011

-3

-4

-5

3

-9

1100

-4

-3

-4

4

-4

1101

-5

-2

-3

5

-3

1110

-6

-1

-2

6

-6

1111

-7

-0

-1

7

-5

EXAMPLE
CONVERSION

OF 1001

The first bit is the sign, so negative.  The rest, 001, is 1.  So the value is -1.

The first bit is the sign, so negative.  We have to invert 001 back to 110 which is 6.  So the value is -6.

The first bit is the sign, so negative.  We then subtract 1 from 001 to get 000.  We now invert that to get 111 which is 7.  So the value is -7.

1001 is the value 9 in unsigned binary.  We start at -8 and add 9 to it to get the value 1.

The first 1 is equal to (-2)^3 or -8.  The last 1 is (-2)^0 equal to 1.  So the value is -8 + 1 = -7.  So the value is -7.