# Binary addition subtraction multiplication division

There are 3 basic rules for adding binary numbers 0 0 0 0 1 1 1 1 10. If the sum of 2 bits is greater than 1, we need to shift a column on the left.

binary addition0 0 0 0 1 1 1 0 1 1 1 10 (i. 0 with a carry of 1) 1 1 1 11binary subtraction0 0 0 1 1 0.

Rule to follow when binary numbers are multiplied 0 x 0 0 0 x 1 0 1 x 0 0 1 x 1 1 division of binary numbers.

Binary subtractionstep 1 write the equation out, padding the bottom number with 0s10000011 step 2 invert the digits of the lower number10001100. Binary subtractionstep 3 add 1 to the lower number10001101step 4 add those two numbers together to get 10101step 5 remove the leading 1 (and any 0s after it).

Divisions involving negatives simplest solution convert to positive and adjust sign later note that multiple solutions exist for the equation dividend quotient x divisor remainder 7 div 2 quo 3 rem 1-7 div 2 quo -3 rem -1 7 div -2 quo -3 rem 1.

It is a key for binary subtraction, multiplication, division. In fourth case, a binary addition is creating a sum of (1 &plus 1 10) i. 0 is written in the given column and a carry of 1 over to the next column.

the result goes down with the next bit in the multiplicand (1). 11 is equal to 11, so 1 is added to the total ( 0011) and 11 is subtracted from 11. The result is 0, which end the division with an answer equal to the total of 0011.