This preview shows page 1. Sign up to view the full content.
Unformatted text preview: t interpretation. Fill in the following table according to these interpretations
Ü (Hex) 0 3 8 A F ¾Í ´Üµ ¾Ì ´Ü µ Aside: Alternative represenations of signed numbers There are two other standard representations for signed numbers: One’s Complement: Same as two’s complement, except that the most signiﬁcant bit has weight Û ½ rather than : ¾ ´¾ ½ ½µ
Û ¾Ç Û
Ü ½ ´¾ ½ ½µ ·
Û Û ¾
Ü ¼ ¾ The most signiﬁcant bit is a sign bit that determines whether the remaining bits should be given negative or positive weight: ¾Ë Û ´µ
Ü ´ ½µ Û ½ ¡
Ü Û ¾
Ü ¼ ¾ ½¼ ¡ ¡ ¡ ¼ Both of these representations have the curious property that there are two different encodings of the number 0. For both representations, is interpreted as . The value can be represented in sign-magnitude as and in one’s complement as . Although machines based on one’s complement representations were built in the past, almost all modern machines use two’s complement. We will see that sign-magnitude enco...
View Full Document
- Spring '10
- The American