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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SummaryBCDBinary coded decimal (BCD) is a weighted code <strong>th</strong>at is commonlyused in digital systems when it is necessary to show decimal numberssuch as in clock displays.The table illustrates <strong>th</strong>edifference between straight binary andBCD. BCD represents e<strong>ac</strong>h decimaldigit wi<strong>th</strong> a 4-bit code. Notice <strong>th</strong>at <strong>th</strong>ecodes 1010 <strong>th</strong>rough 1111 are not used inBCD.Decimal Binary BCD012345678910111213141500000001001000110100010101100111100010011010101111001101111011110000000100100011010001010110011110001001000100000001 000100010010000100110001010000010101Floyd, 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!