1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Carry and Overflow question. Really simple.

  1. Apr 23, 2010 #1

    Let me get this right. A carry occurs when for example I add 2 8bits binary together and get 9 bits. The extra 1 bit is the carry right? (Means I get 1 extra bit from the original 2.)

    So overflow means for example when I add 2 positive binary together, and I get a negative right? (Means the result is in the wrong sign.)

    So what if a carry and overflow occurs together? Which is the overflow bit?

    For example If I get the result 1011 when 1 is the carry bit and 011 is the result within range. Which is the overflow bit? 1 or 0? Is the overflow bit the carry bit? or must I take the MSB of the digit that is within ranger as the overflow bit?

    Hope u understand my question?
  2. jcsd
  3. Apr 24, 2010 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Education Advisor

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook