

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An explanation of binary-coded decimal (bcd) number representation and the process of adding two bcd numbers. It includes examples of adding decimal numbers in bcd format and the correction of an error in the document.
Typology: Study notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


ECS 154A Discussion Section 10/
BCD (Binary-Coded Decimal)
Number Representation Decimal BCD 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001
Addition
1 0001 digit sum > 9 0110 add 6 1 0111 in BCD (17 in decimal)
BCD Adder
Top row: Full adder A1, A2: the digital sum > 9 1010, 1011 -> 1x1x 1100, 1101, 1110, 1111 -> 11xx