Conversely the function yields the unsigned number

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

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 significant bit has weight Û ½ rather than : ¾ ´¾ ½ ½µ Û ¾Ç Û Sign-Magnitude: ´µ Ü ½ ´¾ ½ ½µ · ÜÛ Û Û ¾ Ü ¼ ¾ The most significant 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

Ask a homework question - tutors are online