Connect with us

Signed binary numbers multiplication

Discussion in 'Electronics Homework Help' started by power13, Oct 26, 2018.

Scroll to continue with content
  1. power13


    Oct 26, 2018
    Hello to everyone,

    I have to draw a logic circuit with the above data:

    Input: 2 two-bit signed binary numbers in two's complement format. (eg A(a1a0) and B(b1b0))
    Output: a number Z (in two's complement format, also). Z= AxB (multiplication) if at least an input number is negative. In any other case Z = A + B (addition)

    I'm trying to find what is the min amount of bits for the output.

    So, if the input is A=10 and B=10, we have output Z = 0100. So, I think that the output should be 4bit (in two's complement) binary number.

    Am I on the right direction?
  2. j4cobgarby


    Sep 18, 2018
    yes you're on the right direction, -2 * -2 = 4, so four bits will be the maximum you'll need. sounds good
    power13 likes this.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day