Computer Architecture and Microprocessor Section 3 Revision 2
5 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

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?

  • 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?

  • 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?

    <p>Take the 2’s complement of the result</p> Signup and view all the answers

    What occurs when M = 1 in a binary adder-subtractor for subtraction?

    <p>B inputs are all complemented and a 1 is added through the input carry</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser