number-systems
BCD (Binary-Coded Decimal): Fundamentals Explained
TL;DR: Binary-coded decimal (BCD) stores each decimal digit 0–9 in its own 4-bit nibble, leaving codes 1010–1111 invalid. Adding two BCD digits requires a "+6" correction whenever the binary sum...