Limiting binary representations


Assignment:

The ALU supports set on less than (slt) using just the sign bit of the adder. Let's try a set on less than operation using the values -7ten and 6ten. To make it simpler to follow the example, let's limit the binary representations to 4 bits: 1001two and 0110two. 1001two - 0110two = 1001two + 1010two = 0011two This result would suggest that -7 > 6, which is clearly wrong. Hence, we must factor in overflow in the decision. Modify the 1-bit ALU depicted below to handle slt correctly.

1546_ALU.JPG

2357_overflow.JPG

Your answer must be typed, double-spaced, Times New Roman font (size 12), one-inch margins on all sides, APA format.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Limiting binary representations
Reference No:- TGS01926929

Now Priced at $30 (50% Discount)

Recommended (97%)

Rated (4.9/5)