0% found this document useful (0 votes)
5 views4 pages

Addition of Binary Numbers-Notes-Hwrk

The document outlines the rules and processes for binary addition, including basic addition rules, carrying values, and examples of binary addition. It also discusses overflow in binary addition and provides maximum values for different bit registers. Additionally, it includes homework exercises for practicing binary addition and understanding the concept of carrying.

Uploaded by

levi makokha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views4 pages

Addition of Binary Numbers-Notes-Hwrk

The document outlines the rules and processes for binary addition, including basic addition rules, carrying values, and examples of binary addition. It also discusses overflow in binary addition and provides maximum values for different bit registers. Additionally, it includes homework exercises for practicing binary addition and understanding the concept of carrying.

Uploaded by

levi makokha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Addition of Binary Numbers

Binary Addition Rules


• Binary addition follows similar principles to decimal addition, with the
following rules:

• 0+0=0
• 0+1=1
• 1+0=1
• 1 + 1 = 0 carry 1

For three binary digits:


• 0+0+0=0
• 0+0+1=1
• 0+1+0=1
• 0 + 1 + 1 = 0 (carry 1)
• 1 + 0 + 1 = 0 (carry 1)
• 1 + 1 + 1 = 1 (carry 1)

Carrying Values
• Similar to decimal addition, where carrying occurs if the sum of a
column is greater than 1.
• For example: ( 97 + 64 ) in decimal uses carrying from each column if the
sum exceeds 9.
Examples of Binary Addition
Ex 1: Addition of 00100111
+ 01001010
____________
01110001
• Displays carrying and sum values per column.
Ex 2:
• Convert 126 and 62 into binary.
• Add 01111110 + 00111110 (126 and 62 in binary).
• Result: 10111100, equivalent to 188 in decimal.

Overflow in Binary Addition


Example 3:
• Shows binary addition that exceeds an 8-bit storage limit, causing an
overflow error.
For example, 11011110 + 11101111 results in 111001101 which is a 9-bit sum.This
indicates an overflow.
Maximum Denary Values
• 8-bit register: Maximum value of 255.
• 16-bit register: Maximum value of 65,535.
• 32-bit register: Maximum value of approximately 4.3 billion.
Homework

1.Add the following pairs of 8-bit binary numbers and show the carry values for
each step:
a) 01101011 + 00110110
b) 11010101 + 01010111

2. Convert the decimal numbers 45 and 73 to binary, then add the binary
numbers. Show each step of the addition, including the carries, and confirm
that your result matches the decimal sum of 118.

3. Add 11110111 + 10110001 using 8 bits. Identify if there is an overflow error, and
explain why it occurs or does not occur. What is the denary (decimal) value of
the result if overflow occurs?
4. Perform the following binary additions and write down the result in both binary
and decimal forms:
a) 10011010 + 01100101
b) 11111111 + 00000001

5. In your own words, explain how the "carry" works in binary addition. Give an
example with three binary digits where the carry affects the final result, and
explain each step.

You might also like