Q:
# What Is a Binary Adder-Subtractor?

**A binary adder-subtractor is a digital circuitry that has the capability of adding or subtracting binary numbers based on a control signal.** The adder-subtractor circuit has a switch mode control input that switches the mode of the circuitry between addition and subtraction.

The switch mode control uses the XOR gate logic. Setting the input control signal to logic zero causes the digital circuit to function as a binary adder and setting the input control signal to logic one causes the digital circuit to function as a binary subtractor.

The adder-subtractor circuit adds or subtracts 8-bit binary numbers using the two?s-complement notation. In this notation system, the most significant bit designates the sign of the number and is not a part of the number value. A value zero in the most significant bit location designates a positive binary number. A value one designates a negative binary number.

A carry-in and carry-out bit in the circuit determines whether an overflow occurs. Adding two positive numbers within the range where the sum is also within the range produces a correct positive result with no carry or no overflow. In the case the sum is beyond range, it signals an overflow.

During two?s-complement subtraction with a negative and a positive number, the sign bit indicates a positive value, there is no overflow and the carry bit gets discarded. Adding two?s-complement negative numbers results in the carry-in and carry-out value of one and no overflow.

Learn more about Electrical-
Q:
## What Are Power Splitters?

A: Power splitters or power dividers are electrical units that split a single signal or power charge into two separate charges. Each split charge has half the... Full Answer >Filed Under: -
Q:
## How Does a Shunt Trip Breaker Work?

A: A shunt trip breaker is a type of circuit breaker that, in addition to automatically tripping during an electrical surge and cutting off power, also can be... Full Answer >Filed Under: -
Q:
## What Does Each of the Four Wires in a Four-Wire Trailer Wiring Harness Represent?

A: In a four-wire trailer harness, the green wire is for the right turn signal, the yellow wire is for the left turn signal, the brown wire is for the brake l... Full Answer >Filed Under: -
Q:
## How Do You Troubleshoot Solenoids?

A: To troubleshoot solenoids, first use a voltmeter to gauge the electrical signal and determine if the current is correct. Next, inspect the solenoid for loo... Full Answer >Filed Under: