#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    5
    Rep Power
    0

    Two's complement multiplication


    Good day guys, how will you determine if multiplying two 2's Complement numbers will yield an overflow or not. Thanks for the reply guys... :)
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,417
    Rep Power
    1871
    Are you allowed to use division?

    Or is this another one of those "Guess the bit fiddling trick the tutor just thought of" exercises, which come with a whole host of restrictions you've so far failed to declare.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    5
    Rep Power
    0
    Originally Posted by salem
    Are you allowed to use division?

    Or is this another one of those "Guess the bit fiddling trick the tutor just thought of" exercises, which come with a whole host of restrictions you've so far failed to declare.
    Good day, I'm currently doing self study on computer systems and I'm on a section about two's complement arithmetic and I find it hard to understand their explanation, I also haven't yet tackled two's complement division. BTW...the book that I'm using is computer systems from a programmers perspective by Bryant and Hallaron,

IMN logo majestic logo threadwatch logo seochat tools logo