12.07.2015 Views

Lecture 7 - Webstaff.kmutt.ac.th - kmutt

Lecture 7 - Webstaff.kmutt.ac.th - kmutt

Lecture 7 - Webstaff.kmutt.ac.th - kmutt

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SummaryBinary AdditionThe rules for binary addition are0 + 0 = 0 Sum = 0, carry = 00 + 1 = 1 Sum = 1, carry = 01 + 0 = 1 Sum = 1, carry = 01 + 1 = 10 Sum = 0, carry = 1When an input carry = 1 due to a previous result, <strong>th</strong>e rules are1 + 0 + 0 = 01 Sum = 1, carry = 01 + 0 + 1 = 10 Sum = 0, carry = 11 + 1 + 0 = 10 Sum = 0, carry = 11 + 1 + 1 = 11 Sum = 1, carry = 1Floyd, Digital Fundamentals, 10 <strong>th</strong> ed© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!