Sep 9, 2020 #1 hasan86bd Newbie Joined Sep 9, 2020 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 13 Say I have a Full adder with inputs X, Y and a carry in C. How should I choose those values to make the Sum output become the difference between the X and Y input? Thanks in advance! Last edited by a moderator: Sep 9, 2020
Say I have a Full adder with inputs X, Y and a carry in C. How should I choose those values to make the Sum output become the difference between the X and Y input? Thanks in advance!
Sep 9, 2020 #2 T ThisIsNotSam Advanced Member level 5 Joined Apr 6, 2016 Messages 2,573 Helped 397 Reputation 794 Reaction score 467 Trophy points 1,363 Activity points 14,911 this sounds like homework
Sep 10, 2020 #3 dpaul Advanced Member level 5 Joined Jan 16, 2008 Messages 1,809 Helped 317 Reputation 635 Reaction score 348 Trophy points 1,373 Location Germany Activity points 13,139 Draw the adder table, put the 0s n 1s and calculate!
Sep 11, 2020 #4 B BradtheRad Super Moderator Staff member Joined Apr 1, 2011 Messages 15,221 Helped 2,901 Reputation 5,814 Reaction score 2,990 Trophy points 1,393 Location Minneapolis, Minnesota, USA Activity points 114,065 The two's complement method is a computer algorithm for subtracting a binary number. 1) invert all its bits 2) add to the other number 3) add 1 to the result.
The two's complement method is a computer algorithm for subtracting a binary number. 1) invert all its bits 2) add to the other number 3) add 1 to the result.