Question: Two signed numbers A and B represented in signed-2's complement form are compared by subtracting A - B. Status bits S, Z, and V are
Two signed numbers A and B represented in signed-2's complement form are compared by subtracting A - B. Status bits S, Z, and V are set or cleared depending on the result of the operation. (Note that there is a sign reversal if an overflow occurs.) Show that the relative magnitude of A and B can be determined from inspection of the status bits as specified below. (See also Table 8-11.)


Table 8-11

Table for Problem 8-26 Relation A > B A
Step by Step Solution
3.44 Rating (154 Votes )
There are 3 Steps involved in it
Introduction In digital systems determining the relationship between two signed binary numberssuch as A B A B or A Bis essential for decisionmaking processes like branching and comparison Signed numbe... View full answer
Get step-by-step solutions from verified subject matter experts
