^^Codice BCD Binary Coded
Decimal.
BCD Binary Coded Decimal is just what it says it is.
Here the decimal digits 0-9 are coded into binary.
For each digit we need 4bits: 0000 0001 ... 1001;
the remaining 4-bit numbers are notused.
13710 = 0001 0011 0111 BCD
This is not the same as Binary! looks like binary but ...
- BCD provides ease of interfacing for digital displays e.g. 7segment
displays.
- BCD is wasteful of bits.
- The conversion between BCD and binary iscomplicated. Thus most
arithmetic operations are done with binary rather than other
representations. (However it is possible to implement arithmetic in BCD but
with a carry between thecolumns)
Per codificare 1 cifra decimale si usano 4 bit la cui combinazione fornisce
24=16 combinazioni.