0% found this document useful (0 votes)
16 views

Binary Addition

Binary Addition
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Binary Addition

Binary Addition
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

BINARY ADDITION

S.Kavitha
Head & Assistant Professor
Department of Computer Science
Sri Sarada Niketan College of Science for
Women,Karur.
BINARY ADDITION
• Conceptually similar to decimal addition
• Example: Add the binary numbers 1010 and 11

(carry)
1
1 0 1 0
+ 1 1

1 1 0 1
TEST

Add the Binary numbers 11010 and 1100


(carry) (carry)
1 1
1 1 0 1 0
+ 1 1 0 0

1 0 0 1 1 0
BINARY SUBTRACTION
Example: Subtract binary number 101 from 1011

(borrow)
01
1 0 1 1
- 1 0 1

0 1 1 0
TEST

Subtract binary number 11 from 1010

01
0 10 1 0
1 0 1 0 1
- 1 1

0 1 1 1
BINARY MULTIPLICATION

Example: Multiply the binary numbers 111 and 101.


1 1 1
Multiplicand
x 1 0 1
Multiplier

1 1 1
1st partial product
0 0 0
2nd partial product
1 1 1
3rd partial product

1 0 0 0 1 1
Product

111 x 101 can also be calculated: 111 + 111 + 111 + 111 + 111
TEST
Multiply the binary numbers 101 and 100.
1 0 1
x 1 0 0

0 0 0

0 0 0

1 0 1

1 0 1 0 0

You might also like