# i. Adding-Subtracting Binary Numbers Note -...

This preview shows pages 1–3. Sign up to view the full content.

Adding binary numbers   Adding binary numbers is very similar to adding decimal numbers,  first an example:  Let's look at the above example step by step:  1 + 1 = 0  (carry one) 1 + 1 (+ the carry) = 1  (carry one) 0 + 1 (+ the carry) = 0  (carry one) 1 + 0 (+ the carry) = 0  (carry one) 1 + 0 (+ the carry) = 0  (carry one) 0 + 1 (+ the carry) = 0  (carry one) 1 + 0 (+ the carry) = 0  (carry one) The last carry is placed at the left hand side of the result giving:  10000010

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Subtracting binary numbers   The most common way of subtracting binary numbers is done by first taking the second value  (the number to be subtracted) and apply what is known as  two's complement , this is done in two  steps: 1. complement each digit in turn (change 1 for 0 and 0 for 1).  2. add 1 (one) to the result.  note:  the first step by itself is known as
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern