Using the table you filled in when solving Problem 2.17, fill in the following table describing the

Question:

Using the table you filled in when solving Problem 2.17, fill in the following table describing the function T2U4:

x -1 -5 -6 -4 1 8 T2U 4(x)

Problem 2.17

Assuming w = 4, we can assign a numeric value to each possible hexadecimal digit, assuming either an unsigned or a two's-complement interpretation. Fill in the following table according to these interpretations by writing out the nonzero powers of 2 in the summations shown in Equations 2.1 and 2.3:

x Hexadecimal Binary OXA [1010] 0x1 OxB 0x2 0x7 0xC B2U4(x) 2 +2=10 B2T4(x) -2 +2=-6

Eq. 2.1

w-1 B2U(x) =  x;2 i 0 (2.1)

Eq. 2.3

-2 B2T (X) = -Xw-12-1+ x2 i=0 (2.3)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Systems A Programmers Perspective

ISBN: 9781292101767

3rd Global Edition

Authors: Randal E. Bryant, David R. O'Hallaron

Question Posted: