Explore BrainMass
Share

Explore BrainMass

    binary subtraction and division

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Example problem:

    1001/10101010

    I am expecially having problems subracting with there is a borrow involved.

    © BrainMass Inc. brainmass.com June 1, 2020, 4:26 pm ad1c9bdddf
    https://brainmass.com/computer-science/algorithms/binary-subtraction-division-96557

    Solution Preview

    1001/10101010
    Binary Subtraction

    1001 - 10101010 (9 base 10 - 170 base 10)

    If you want to subtract a larger number from a smaller number (giving a negative result) then the process is slightly different.

    Step 1: Reverse 0 and 1s in 2nd binary ...

    Solution Summary

    This job features binary subtraction and division. Binary subtraction and division is examined.

    $2.19

    ADVERTISEMENT