Question: Inputs for a 8-bit 2's complement sub/adder lab assignment. Just need examples to test the design and for the demo. example solution: 1) 10101010 +
As a minimum the correct functionality of the design should be demonstrated to the laboratory instructor which will 1) Add two numbers that do not generate a carty. 2) Subtract two numbers that do not generate a borrow. 3) Add two numbers in which there is a pending carry. 4) Subtract two numbers when there is a pending borrow. 5) Add two numbers where a carry in propagates all the way from LSB to carry out 6) Subtract two numbers where a borrow in propagates all the way from LSB and generates a borrow out request. 7) Add two numbers that causes an overflow into the carry bit. 8) Subtract a larger positive number from a smaller one generating a negative result if the MSB is interpreted as the sign bit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
