Question: Show that each of the following bit vectors is a twos-complement representation of 4 by applying Equation 2.3: A. [1100] B. [11100] C. [111100] Observe

Show that each of the following bit vectors is a two’s-complement representation of −4 by applying Equation 2.3:
A. [1100]
B. [11100]
C. [111100]
Observe that the second and third bit vectors can be derived from the first by sign extension.

Eq. 2.3

2 B2T (x) = =Xw_12"-1+ 2 x 2 i=0 (2.3)

2 B2T (x) = =Xw_12"-1+ 2 x 2 i=0 (2.3)

Step by Step Solution

3.54 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

This exercise provides a concrete demons... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Systems A Programmers Perspective Questions!