in a Active High output Decoder Circuit and 2-input NAND Gates.
Most digital circuits that perform addition or subtraction rely on a complete adder circuit. It gets its name from the fact that it adds two binary digits plus a carry-in digit to generate a total and a carry-out digit.
A complete subtractor is a combinational circuit that conducts subtraction of two bits, one of which is minuend and the other of which is subtrahend while taking into consideration the borrow of the preceding adjacent lower minuend bit. The three inputs A, B, and Bin, respectively, represent the minuend, subtrahend, and prior borrow.