Computer Science
Binary Subtraction
Perform subtraction of binary numbers.
Use 2’s complement or borrow method
Formula Explanation
Common methods are borrow method or addition of 2’s complement.
Variables Explained
2’s complement = 1’s complement + 1.
Solved Example
Subtract 0101 from 1011.
1011 - 0101 = 0110.