Question: In computer computations it is often necessary to compare numbers. Two four-bit signed numbers, X = x3x2x120 and Y = 93929190, can be compared

In computer computations it is often necessary to compare numbers. Two four-bit

In computer computations it is often necessary to compare numbers. Two four-bit signed numbers, X = x3x2x120 and Y = 93929190, can be compared by using the subtractor circuit in Figure 5.43, which performs the operation X-Y. The three outputs denote the following: . Z = 1 if the result is 0; otherwise Z = 0 N = 1 if the result is negative; otherwise N = 0 . V = 1 if arithmetic overflow occurs; otherwise V = 0 Show how Z, N, and V can be used to determine the cases X = Y, X Y.

Step by Step Solution

3.41 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The detailed ... 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 Algorithms Questions!