Professional Documents
Culture Documents
Binary Subtraction
Binary Subtraction
Binary addition:
The method of addition, there are four cases or steps to remember before proceeding through the
operation. These are
As there no numbers other than 0 and 1 in the binary number system these four steps include all the
possible operations of addition.
A= 149 B=134
Binary subtraction:
Computers though, don’t perform subtraction; they don’t have the circuits built in that support it. Instead
they take another approach
C = A + (-B)
“Computers actually perform subtraction by adding”.
The steps are as follows.
Step 1: Calculate the Two’s Complement of our number B.
Step 2: Add the Two’s Complement of B to A to Get Our Result (C)
2. Floating Point Notation: Floating point number allows for a varying number of digits after the
decimal point. This representation does not reserve a specific number of bits for the integer part or the
fractional part.
1 1 1 1 0 1 1 1 1
1.11101111 x 2110