Quantcast
Channel: binary – Speak Electronics
Viewing all articles
Browse latest Browse all 3

Binary addition,subtraction and multiplication

$
0
0

Binary addition

­Some rules to know before we move to binary addition.

0 + 0 = 0

0 + 1 = 1

1 + 0 = 1

1 + 1 = 0 & carry 1 to next more significant bit

1 + 1 + 1 = 1 & carry 1

e.g. (10010 + 10011)2

Binary addition

Binary Subtraction

Binary subtraction is bit complicated. This method is not used generally. Other method called 1′s & 2′s complement method are used due to certain advantages discussed in other post.

Rules of binary subtraction

0 – 0 = 0

1 – 0 = 1

0 – 1 = 1 & borrow 1 from next significant bit

1 – 1 = 0

Binary subtraction

Multiplication

Multiplication of binary digit is done in same way as done while multiplying decimal digits. The digits are either 1 or 0 which makes it really simple. But, I have still included one example.

Rules of binary multiplication

0 x 0 = 0

1 x 0 = 0

0 x 1 = 0

1 x 1 = 1

e.g. (10001)2 x (110)2

       10001

       x  110

      00000

  +10001x

+10001xx

1100110

TAGS:

additionbinarymultiplicationrulessubtraction

Comments:


Source link

The post Binary addition,subtraction and multiplication appeared first on Speak Electronics.


Viewing all articles
Browse latest Browse all 3

Trending Articles