Podcast
Questions and Answers
What is the first step to perform binary subtraction?
What is the first step to perform binary subtraction?
- Discard the carry if produced
- Add the two numbers together
- Compute the 1’s complement of the subtrahend
- Find the 2’s complement of the subtrahend (correct)
How is the 1’s complement of a number computed?
How is the 1’s complement of a number computed?
- By multiplying each bit by -1
- By inverting every bit of the number and then adding 1 (correct)
- By subtracting each bit from 1
- By adding 1 to the number
What does a XOR gate with an input tied high do?
What does a XOR gate with an input tied high do?
- Performs addition
- Acts as an inverter (correct)
- Generates a two's complement
- Produces a carry
In binary subtraction, what happens if there is no carry after adding the two numbers together?
In binary subtraction, what happens if there is no carry after adding the two numbers together?
What occurs when M = 1 in a binary adder-subtractor for subtraction?
What occurs when M = 1 in a binary adder-subtractor for subtraction?
Flashcards are hidden until you start studying