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

Binary Addition

Uploaded by

Saung Oo Hnin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Binary Addition

Uploaded by

Saung Oo Hnin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Binary Addition

Rule – 1: 0+0=0

Number 1 0
Number 2 0
Carry 0 0
Sum 0

Rule – 2: 0+1=01

Number 1 0
Number 2 0
Carry 0 0
Sum 0

Rule – 3: 1+1=10

Number 1 0
Number 2 0
Carry 0 0
Sum 0

Rule – 4: 1+1+1=11

Number 1 0
Number 2 0
Carry 0 0
Sum 0

0011 + 1011

Rule – 1 : 0+0=0

Number 1 0 0 1 1
Number 2 1 0 1 1
Carry 0 1 1
Sum 1 1 1 0
01101010+10011000

128s 64s 32s 16s 8s 4s 2s Units


Number 1 0 1 1 0 1 0 1 0
Number 2 1 0 0 1 1 0 0 0
Carry 1 1 1 1 0 0 0
Sum 0 0 0 0 0 0 1 0

There is an overflow error so we can’t know the right answer

00011011 + 00101001

128s 64s 32s 16s 8s 4s 2s Units


Number 1 0 0 0 1 1 0 1 1
Number 2 0 0 1 0 1 0 0 1
Carry 0 1 1 1 0 1 1
Sum 0 1 0 0 0 1 0 0

128 64 36 16 8 4 2 1
0 0 1 0 0 0 1 0

The 1 in column 6 is 26

1 x 26 = 1 x 36 = 36

the 1 in the column 2 is 21

1 x 21= 1 x 2 = 2

128s 64s 32s 16s 8s 4s 2s Units


Number 1 0 0 1 0 1 1 0 1
Number 2 0 0 1 0 0 1 0 1
Carry 0 1 0 1 1 0 1
Sum 0 1 0 1 0 0 1 0

Number 1

128 64 32 16 8 4 2 1
0 0 1 0 1 1 0 1

0 + 0 + 32 + 0 + 8 + 4 + 0 + 1 = 45
Number 2

128 64 32 16 8 4 2 1
0 0 1 0 0 1 0 1

0 + 0 + 32 + 0 + 0 + 4 + 0 + 1 = 37

Sum

128 64 32 16 8 4 2 1
0 1 0 1 0 0 1 0

0 + 64 + 0 + 16 + 0 + 0 + 2 + 0 = 82

You might also like