Sign and Magnitude | ||
Integers can be stored in a fixed-length store in two ways :
|
||
Sign and Magnitude | ||
The first bit is a sign bit and the remaining bits show the size (magnitude) of the number. The sign bit is usually
Examples Using an 8-bit store - +24 would be represented by 0 0011000 -24 would be represented by 1 0011000
|
||