1. Not finding help here? Sign up for a free 30min 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!

Subtracting binary numbers

  1. Sep 22, 2013 #1
    I am asked to come up with two 4-bit binary numbers, that when subtracted, provide the wrong result for both the unsigned and signed cases, inspecting only the first 4 bits of the output.

    I have come up with numerous combination where the unsigned is correct, the signed is wrong, and vice versa. But I can't get both of them to be wrong!

    Thank you for the help!
     
  2. jcsd
  3. Sep 22, 2013 #2

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    Can you express the conditions that the operation gets the wrong result, in general terms, for each case?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Subtracting binary numbers
  1. Binary Number System (Replies: 5)

Loading...