Fill in the blanksQuestion 1 · Recall
Loading…
By the end you can write a denary number in BCD, read BCD back, and explain where and why BCD is used.
Binary Coded Decimal (BCD)
A representation in which each denary digit is stored separately as its own 4-bit binary code (a nibble), from 0000 for 0 to 1001 for 9.
Pure binary converts the whole value at once. BCD refuses to: it takes the denary digits one at a time.
0000 to 1001.1010 to 1111 are never valid in BCD.Worked example: Encoding and decoding
(a) Write 738 in BCD. (b) What denary number is the BCD value 1001 0010 0101?