

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
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