324_Book

# Conversely the function yields the unsigned number

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

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

## This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.

Ask a homework question - tutors are online